-
Notifications
You must be signed in to change notification settings - Fork 0
Publishing with PNPM
Vadim edited this page Nov 13, 2025
·
2 revisions
name: Publish to NPM
on:
release:
types: [published]
jobs:
npm-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: latest
run_install: true
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: pnpm
- run: pnpm run build
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}