Skip to content

Pin Node to 22.16.0 LTS and restore npm 11 for publish#52

Merged
flyon merged 1 commit intodevfrom
claude/fix-publish-npm-v2
Apr 3, 2026
Merged

Pin Node to 22.16.0 LTS and restore npm 11 for publish#52
flyon merged 1 commit intodevfrom
claude/fix-publish-npm-v2

Conversation

@flyon
Copy link
Copy Markdown
Contributor

@flyon flyon commented Apr 3, 2026

Summary

Pin Node.js to 22.16.0 LTS and restore npm 11 upgrade for publish jobs.

Node 22.22.2 (latest on GitHub runners) breaks npm install -g npm@^11.5.1 with MODULE_NOT_FOUND for promise-retry. Pinning to 22.16.0 LTS resolves the incompatibility while keeping npm 11 available for publish (needed for provenance/signing features).

Changes

  • Pin node-version: 22.16.0 in all three workflows (ci.yml, publish.yml)
  • Restore npm install -g npm@^11.5.1 in release and dev-release jobs

https://claude.ai/code/session_017mqanCkMvA1VU8MVD7hkA1

Node 22.22.2 (latest on GitHub runners) breaks npm install -g npm@^11.5.1
with MODULE_NOT_FOUND. Fix: pin Node to 22.16.0 LTS across all workflows.
Restore npm 11 upgrade in release/dev-release jobs (needed for publish).

https://claude.ai/code/session_017mqanCkMvA1VU8MVD7hkA1
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

⚠️ No changeset found. If this PR should trigger a release, run npx changeset and commit the generated file.

If this change doesn't need a release (docs, CI config, etc.), you can ignore this message.

@flyon flyon merged commit 6ace771 into dev Apr 3, 2026
4 checks passed
@flyon flyon deleted the claude/fix-publish-npm-v2 branch April 3, 2026 14:55
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