Skip to content

Release v1.2.0

Release v1.2.0 #35

Workflow file for this run

# This workflow is triggered when a tag v* is pushed to the repository
# To release to npm, make sure you incremented the version in package.json
# and then run `git tag vx.x.x` and `git push origin vx.x.x`
name: npm-publish
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}