Skip to content

ci(npm-publish): pin npm to 11.x to avoid sigstore provenance bug - #421

Merged
0-jake-0 merged 1 commit into
mainfrom
claude/github-actions-workflow-fix-qt146z
Jul 9, 2026
Merged

0-jake-0 merged 1 commit into
mainfrom
claude/github-actions-workflow-fix-qt146z

Conversation

@0-jake-0

@0-jake-0 0-jake-0 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

npm 12.0.0 (now the @latest dist-tag) ships a broken bundle whose
libnpmpublish/provenance.js cannot resolve sigstore, so
npm publish --provenance fails with "Cannot find module 'sigstore'"
(npm/cli#9722). Pin the global npm upgrade to the 11.x line, which
still bundles sigstore and supports OIDC trusted publishing (>= 11.5.1).

Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01CK7x82c4DLuhahbFL7Q6Sh

npm 12.0.0 (now the @latest dist-tag) ships a broken bundle whose
libnpmpublish/provenance.js cannot resolve `sigstore`, so
`npm publish --provenance` fails with "Cannot find module 'sigstore'"
(npm/cli#9722). Pin the global npm upgrade to the 11.x line, which
still bundles sigstore and supports OIDC trusted publishing (>= 11.5.1).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CK7x82c4DLuhahbFL7Q6Sh
@0-jake-0
0-jake-0 merged commit 4b39190 into main Jul 9, 2026
@0-jake-0
0-jake-0 deleted the claude/github-actions-workflow-fix-qt146z branch July 9, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants