Skip to content

1.5.0

1.5.0 #11

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: pnpm run publish -- --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
CI: true