ModelHandle/.github/workflows/npm_publish.yml
Chris Bateman 06a24ef908
Update Github Workflows (#435)
* update build.yml

* Add Node 20 to testing matrix

* Remove EOL Node 16

* Update remaining workflows
2023-11-29 13:02:38 +01:00

22 lines
422 B
YAML

name: NPM Publish
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run create_dist
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}