Skip to content

v2.0.0

v2.0.0 #8

Workflow file for this run

name: Publish package to npmjs.com
on:
release:
types: [published]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.16.0
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Publish to npmjs.com
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}