Skip to content

fix(release): pin npm to 11.x so OIDC publish works on Node 20#327

Merged
brtkx merged 1 commit into
mainfrom
sahil/fix-release-npm-engine
Jul 15, 2026
Merged

fix(release): pin npm to 11.x so OIDC publish works on Node 20#327
brtkx merged 1 commit into
mainfrom
sahil/fix-release-npm-engine

Conversation

@SahilVasava

Copy link
Copy Markdown
Collaborator

Why the Version Packages PR stopped opening

npm@latest rolled to 12.x, which requires Node >=22.22.2. The release workflow pins Node 20, so the Upgrade npm for OIDC publishing step (npm install -g npm@latest) now fails with EBADENGINE:

npm error EBADENGINE Required: {"node":"^22.22.2 || ^24.15.0 || >=26.0.0"} Actual: node v20.20.2

That step failing skips Create Version PR or publish — so since ~07-09 every merge to main has silently failed to open/update the Version PR. Changesets from #299/#300/#304/#305/#306 piled up on main, unreleased.

Fix

Pin to npm@11 (≥ 11.5.1, which is all OIDC Trusted Publishing needs, and still supports Node 20). Stops chasing latest into engine breaks.

After merge

The (fixed) release run will process the pending changesets and open a Version Packages PR bumping @zerodev/react-ui and @zerodev/wallet-react-ui. Merging that publishes them.

Follow-up (separate): Node 20 is deprecated on GH runners — worth bumping the workflows to Node 22 later, but that's not needed to unblock this.

npm@latest rolled to 12.x, which requires Node >=22.22.2 and fails with
EBADENGINE on our Node 20 runner. The 'Upgrade npm' step has failed on every
push to main since npm@12 shipped (~07-09), skipping the changesets action, so
no Version Packages PR opened and several merged changesets went unreleased.
Pin to npm@11 (>=11.5.1, still supports Node 20) — that's all OIDC needs.
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zerodev-signer-demo Ready Ready Preview, Comment Jul 15, 2026 3:01pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jul 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-core@327
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-react@327
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/react-ui@327
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-react-ui@327

commit: 3c950b2

@brtkx brtkx merged commit 6f5aa77 into main Jul 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants