Skip to content

fix: stabilize npm publishing runtime - #143

Merged
zhengchaol merged 1 commit into
mainfrom
agent/fix-npm-publish-runtime
Aug 10, 2026
Merged

fix: stabilize npm publishing runtime#143
zhengchaol merged 1 commit into
mainfrom
agent/fix-npm-publish-runtime

Conversation

@zhengchaol

@zhengchaol zhengchaol commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • run the npm publishing job on Node.js 24
  • pin npm to major version 11 instead of installing npm@latest

Root cause

The v0.8.1rc1 release workflow installed npm 12 through npm@latest, but npm 12 does not support the workflow's Node.js 20 runtime. The failure occurred before the npm version and publish steps.

This change also prevents a future npm major release from unexpectedly breaking the publishing job again.

@zhengchaol
zhengchaol marked this pull request as ready for review August 10, 2026 19:35
@zhengchaol
zhengchaol merged commit f46eac8 into main Aug 10, 2026
7 checks passed
@zhengchaol
zhengchaol deleted the agent/fix-npm-publish-runtime branch August 10, 2026 19:35
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