Skip to content

chore: release v0.5.0 #6

chore: release v0.5.0

chore: release v0.5.0 #6

Workflow file for this run

name: Publish on NPM
on:
push:
tags:
- 'js-v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: 20
registry-url: 'https://registry.npmjs.com'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm install && pnpm build
npm publish --provenance --access public