GeezerVison is showing github.com — fix(ci): pin npm to 11.15.0 so `npm stage publish` works by shaanmajid · Pull Request #10935 · axios/axios
Conversation
shaanmajid
commented
May 23, 2026
•
edited by cubic-dev-ai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
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 default npm version shipped on Node 26.2.0 is currently 11.13.0.
This PR upgrades and pins the npm version used during published to 11.15.0; this is intended to be a short-lived shim until the default npm version shipped via actions/setup-node is bumped.
Summary by cubic
Pins npm to 11.15.0 in the publish workflow to enable staged publishing and unblock releases on Node 26.2. Temporary until actions/setup-node ships npm >= 11.15.0.
Description
- Summary of changes: Add a step in
.github/workflows/publish.yml to install [email protected] before install/publish.
- Reasoning:
npm stage publish requires npm >= 11.15.0; Node 26.2 defaults to 11.13.0, causing publish failures.
- Additional context: Remove the pin once
actions/setup-node bundles npm >= 11.15.0.
Docs
- Add a note in
/docs/ (release process) that CI pins [email protected] for staged publishing and that this is temporary.
Testing
- No tests added. CI-only change; not needed. Validate by running the publish workflow on a pre-release tag.
Semantic version impact
- Patch: infrastructure-only; no public API or behavior changes to published packages.
Written for commit 13bd1e7. Summary will update on new commits. Review in cubic
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Re-trigger cubic
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
shaanmajid
changed the title
Fix/pin npm v1x
fix(ci): pin npm to 11.15.0 so npm stage publish works
May 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
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
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.