Skip to content

Fix publish workflow: remove broken npm global upgrade#51

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

Fix publish workflow: remove broken npm global upgrade#51
flyon merged 1 commit intodevfrom
claude/fix-publish-npm

Conversation

@flyon
Copy link
Copy Markdown
Contributor

@flyon flyon commented Apr 3, 2026

Summary

Remove npm install -g npm@^11.5.1 from both release and dev-release jobs in publish.yml. This step fails on Node 22.22.2 (current GitHub runners) with MODULE_NOT_FOUND for promise-retry. Node 22 ships with npm 10.x which works fine for changeset publish.

https://claude.ai/code/session_017mqanCkMvA1VU8MVD7hkA1

npm install -g npm@^11.5.1 fails on Node 22.22.2 with
MODULE_NOT_FOUND for promise-retry. Node 22 ships with npm 10.x
which works fine for changeset 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 3b3bb1d into dev Apr 3, 2026
4 checks passed
@flyon flyon deleted the claude/fix-publish-npm branch April 3, 2026 14:49
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