Skip to content

build(release): v1.0.6 #9

build(release): v1.0.6

build(release): v1.0.6 #9

Workflow file for this run

name: Publish to NPM
on:
# Run when a tag has been pushed.
push:
tags:
- 'v**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm publish
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}