mirror of
https://github.com/openziti/zrok.git
synced 2024-11-28 19:14:07 +01:00
CI
This commit is contained in:
parent
caffedce02
commit
335481f388
13
.github/workflows/node-sdk.yml
vendored
13
.github/workflows/node-sdk.yml
vendored
@ -1,8 +1,15 @@
|
|||||||
name: Build/Relesae Node SDK
|
name: Build/Release Node SDK
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [ published ]
|
types: [ published ]
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
paths-ignore:
|
||||||
|
- 'package.json'
|
||||||
|
- 'CHANGELOG.md'
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@ -51,9 +58,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build NodeJS-SDK
|
- name: Build NodeJS-SDK
|
||||||
run: |
|
run: |
|
||||||
cd ${{ runner.workspace }}/${{ github.event.repository.name }}
|
cd ${{ runner.workspace }}/${{ github.event.repository.name }}/sdk/nodejs/sdk
|
||||||
npm install
|
npm install
|
||||||
npm run build:package -- --target_arch=${{ matrix.config.arch }}
|
npm run build
|
||||||
env:
|
env:
|
||||||
PRESET: ci-${{ matrix.config.target }}-${{ matrix.config.arch }}
|
PRESET: ci-${{ matrix.config.target }}-${{ matrix.config.arch }}
|
||||||
TARGET_ARCH: ${{ matrix.config.arch }}
|
TARGET_ARCH: ${{ matrix.config.arch }}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "zrok",
|
"name": "@openziti/zrok",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"description": "SDK to enable programmatic use of the zrok sharing methods",
|
"description": "SDK to enable programmatic use of the zrok sharing methods",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
Loading…
Reference in New Issue
Block a user