fix(ci): pin npm to 11.15.0 so npm stage publish works#10935
Merged
Conversation
npm stage publish works
jasonsaayman
approved these changes
May 24, 2026
jasonsaayman
pushed a commit
that referenced
this pull request
May 28, 2026
* fix(ci): pin npm to 11.15.0 so npm stage publish works * docs(ci): note npm pin is temporary until node bundles npm 11.15.0
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
Currently, attempted publishes will fail due to the staged publishing change merged in #10926; staged publishing requires an npm version of
11.15.0(latest at the time of writing) or higher, but the defaultnpmversion shipped on Node 26.2.0 is currently11.13.0.This PR upgrades and pins the
npmversion used during published to11.15.0; this is intended to be a short-lived shim until the defaultnpmversion shipped viaactions/setup-nodeis bumped.Summary by cubic
Pins
npmto 11.15.0 in the publish workflow to enable staged publishing and unblock releases on Node 26.2. Temporary untilactions/setup-nodeshipsnpm>= 11.15.0.Description
.github/workflows/publish.ymlto installnpm@11.15.0before install/publish.npm stage publishrequiresnpm>= 11.15.0; Node 26.2 defaults to 11.13.0, causing publish failures.actions/setup-nodebundlesnpm>= 11.15.0.Docs
/docs/(release process) that CI pinsnpm@11.15.0for staged publishing and that this is temporary.Testing
Semantic version impact
Written for commit 13bd1e7. Summary will update on new commits. Review in cubic