Skip to content

💚 ci: bump node to v24.18.0 so npm@latest installs in the release - #667

Merged
futjesus merged 1 commit into
mainfrom
fix/pin-npm-version-in-release
Jul 21, 2026
Merged

💚 ci: bump node to v24.18.0 so npm@latest installs in the release#667
futjesus merged 1 commit into
mainfrom
fix/pin-npm-version-in-release

Conversation

@futjesus

@futjesus futjesus commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

The publish-npm job of the release workflow failed on npm install -g npm@latest: latest now resolves to npm@12, which requires node ^22.22.2 || ^24.15.0 || >=26 and hit EBADENGINE against the node pinned in .nvmrc (v24.13.1).

Bump .nvmrc to the current node 24.x (v24.18.0) so npm@latest keeps installing — preferable to pinning an older npm line. Applies to every workflow that reads .nvmrc (tests, storybook deploy, release).

Context

The 0.1.2-alpha.102 release run half-completed: the GitHub Packages job succeeded (the version bump is on main), but the npmjs publish never ran. After this merges, dispatch a new release (e.g. 0.1.2-alpha.103) — re-running the failed job would reuse the old workflow snapshot, and re-dispatching the same version would fail the npm version bump.

Test plan

  • node v24.18.0 satisfies npm@12's engine range (^24.15.0), so the upgrade step succeeds; trusted publishing continues to work.

npm install -g npm@latest now resolves to npm@12, which requires node
^22.22.2 || ^24.15.0 || >=26 and failed with EBADENGINE against the
node pinned in .nvmrc (v24.13.1), breaking the npm publish job.
@futjesus
futjesus force-pushed the fix/pin-npm-version-in-release branch from 142efba to a37039d Compare July 21, 2026 21:04
@futjesus futjesus changed the title 💚 ci: pin the release npm upgrade to the 11.x line 💚 ci: bump node to v24.18.0 so npm@latest installs in the release Jul 21, 2026
@futjesus
futjesus merged commit 37f3c8c into main Jul 21, 2026
1 check passed
@futjesus
futjesus deleted the fix/pin-npm-version-in-release branch July 21, 2026 21:06
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.

1 participant