azure-kusto-node/.github/workflows/npmpublish.yml

35 строки
784 B
YAML

name: Node.js Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 8
registry-url: https://registry.npmjs.org/
- name: Publish new version azure-kusto-data
working-directory: ./azure-kusto-data
run: |
npm install
npm run build
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish new version azure-kusto-ingest
working-directory: ./azure-kusto-ingest
run: |
npm install
npm run build
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}