Skip to content

2.1.3

2.1.3 #29

Workflow file for this run

name: Publish Node.js Package
on:
release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn test
- run: yarn build
- run:
npm version --no-workspaces-update --no-git-tag-version
${{github.ref_name}}
- run: npm publish --access=public --tag=$(npx auto-dist-tag)
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}