Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
tags:
- "v*.*.*"

permissions:
id-token: write
contents: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,5 +51,3 @@ jobs:
- name: Publish
run: |
pnpm publish --access public --no-git-checks
Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The publish command is missing the --provenance flag, which is required for npm provenance publishing. Without this flag, the id-token permissions and removal of NODE_AUTH_TOKEN will cause the publish step to fail due to authentication errors. Add --provenance to the pnpm publish command to enable provenance-based authentication.

Suggested change
pnpm publish --access public --no-git-checks
pnpm publish --provenance --access public --no-git-checks

Copilot uses AI. Check for mistakes.
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}