Skip to content

v1.2.0

v1.2.0 #19

Workflow file for this run

# This workflow will publish any new release to the npmjs registry
name: Publish
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: https://registry.npmjs.org/
- run: npm ci --package-lock
- run: npm test
- run: npm run lint:ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}