Skip to content

v0.5.0

v0.5.0 #8

Workflow file for this run

name: Publish
on:
release:
types:
- released
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm version ${{ github.ref_name }} --no-git-tag-version --allow-same-version
- run: npm ci --no-audit
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}