Skip to content

build(release): v1.0.4 #7

build(release): v1.0.4

build(release): v1.0.4 #7

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@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test
publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm publish
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}