This commit is contained in:
Curt Tudor 2024-03-25 14:51:15 -06:00
parent caffedce02
commit 335481f388
No known key found for this signature in database
GPG Key ID: B3CD225AF4EC8E96
2 changed files with 12 additions and 5 deletions

View File

@ -1,8 +1,15 @@
name: Build/Relesae Node SDK
name: Build/Release Node SDK
on:
release:
types: [ published ]
push:
branches: [ main ]
paths-ignore:
- 'package.json'
- 'CHANGELOG.md'
pull_request:
branches: [ main ]
jobs:
@ -51,9 +58,9 @@ jobs:
- name: Build NodeJS-SDK
run: |
cd ${{ runner.workspace }}/${{ github.event.repository.name }}
cd ${{ runner.workspace }}/${{ github.event.repository.name }}/sdk/nodejs/sdk
npm install
npm run build:package -- --target_arch=${{ matrix.config.arch }}
npm run build
env:
PRESET: ci-${{ matrix.config.target }}-${{ matrix.config.arch }}
TARGET_ARCH: ${{ matrix.config.arch }}

View File

@ -1,6 +1,6 @@
{
"name": "zrok",
"version": "1.0.0",
"name": "@openziti/zrok",
"version": "0.1.0",
"description": "SDK to enable programmatic use of the zrok sharing methods",
"main": "./dist/index.js",
"module": "./dist/index.mjs",