Repository navigation
ci: use npm 12.2 for legacy tag migration - #842
Merged
Merged
Conversation
roncohen
enabled auto-merge (squash)
November 29, 2026 18:35
roncohen
disabled auto-merge
November 29, 2026 18:35
roncohen
added a commit
that referenced
this pull request
Nov 29, 2026
Remove the npm-version regression test added in #842, as requested. Keep the npm 12.2.0 workflow fix and all existing release safeguards unchanged. Validation: the remaining 12 release safeguards, formatting, whitespace checks, and normal commit hooks passed. No npm publication or tag changes were performed.
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.
Summary
Fix the npm CLI version used by the manual legacy-tag migration. The failed run used npm 11.19.1 bundled with Node 24.22.0 and failed with E401 on the first
npm dist-tag add.OIDC-authenticated dist-tag commands require npm 11.21.0+ or 12.2.0+. Install npm 12.2.0 explicitly and verify the selected version before changing tags. Add a regression test for that ordering.
Package code, publishing behavior, tag targets, branch protections, and OIDC permissions are unchanged. No token fallback or new secret is introduced.
Validation
No npm publication or tag mutation was performed. Actual GitHub OIDC tagging still needs a fresh dispatch after merge, and the matching trusted publishers must allow
npm dist-tag. Rerunning the old failed run would retain its old workflow commit.