GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@shaanmajid shaanmajid commented May 23, 2026 •
edited by cubic-dev-ai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
shaanmajid added 2 commits May 22, 2026 19:43
@shaanmajid
fix(ci): pin npm to 11.15.0 so npm stage publish works
3a72c4f
@shaanmajid
docs(ci): note npm pin is temporary until node bundles npm 11.15.0
13bd1e7
@shaanmajid
shaanmajid requested a review from jasonsaayman as a code owner May 23, 2026 03:05
cubic-dev-ai[bot]
cubic-dev-ai Bot reviewed May 23, 2026
View reviewed changes

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
@shaanmajid shaanmajid changed the title Fix/pin npm v1x fix(ci): pin npm to 11.15.0 so npm stage publish works May 23, 2026
@shaanmajid shaanmajid mentioned this pull request May 23, 2026
ci(publish): adopt npm staged publishing on v0.x #10936
Merged
@jasonsaayman jasonsaayman assigned jasonsaayman and shaanmajid and unassigned jasonsaayman May 24, 2026
@jasonsaayman jasonsaayman added priority::medium commit::ci The PR is related to CI labels May 24, 2026
jasonsaayman
jasonsaayman approved these changes May 24, 2026
View reviewed changes
@jasonsaayman
jasonsaayman merged commit d3fadc9 into axios:v1.x May 24, 2026
25 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shaanmajid shaanmajid mentioned this pull request May 27, 2026
fix(ci): pin npm to 11.15.0 so npm stage publish works MurhafSousli/ngx-gallery#647
Merged
jasonsaayman pushed a commit that referenced this pull request May 28, 2026
@shaanmajid @jasonsaayman
fix(ci): pin npm to 11.15.0 so npm stage publish works (#10935)
80caedd
* 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
@shaanmajid shaanmajid mentioned this pull request Jul 16, 2026
ci: use bundled npm for v1 publish #11083
Merged
@shaanmajid
shaanmajid deleted the fix/pin-npm-v1x branch July 16, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cubic-dev-ai cubic-dev-ai[bot] cubic-dev-ai[bot] left review comments
@jasonsaayman jasonsaayman jasonsaayman approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@shaanmajid shaanmajid

Labels

commit::ci The PR is related to CI

Projects

None yet

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.

2 participants

@shaanmajid @jasonsaayman
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.