Skip to content

v3.2.0

v3.2.0 #24

Workflow file for this run

name: Publish to NPM
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node LTS
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- name: Set up package manager
run: corepack enable pnpm
- run: |
pnpm install
pnpm build
pnpm test
pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}