Skip to content

v3.1.3

v3.1.3 #23

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 }}