ci: pin publish-step npm to the 11.x line#14
Merged
Conversation
npm 12.0.0 (current latest) fails `npm publish` under OIDC Trusted Publishing with MODULE_NOT_FOUND on 'sigstore' in libnpmpublish's provenance path — this is what broke the v0.4.0 publish. Node 24's bundled npm is already 11.16.0, so 11.x comfortably clears the >= 11.5.1 Trusted Publishing floor. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012rn1KYa8uH8ikwK3AaHaLP
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.4.0 publish failed: the workflow upgrades to
npm@latest, which is now npm 12.0.0, and its libnpmpublish dies withMODULE_NOT_FOUND: sigstoreon the OIDC/provenance path. Node 24 already bundles npm 11.16.0 (≥ the 11.5.1 Trusted Publishing floor), so this pins the upgrade to the 11.x line.The v0.4.0 republish was dispatched from this branch (workflow_dispatch with
publish_tag=v0.4.0checks out the tag for the actual build), so merging this is only needed for future releases, not for 0.4.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012rn1KYa8uH8ikwK3AaHaLP