Skip to content

ci: bump publish workflow to Node 22#29

Merged
JSv4 merged 1 commit into
mainfrom
ci/fix-publish-node-version
Jul 12, 2026
Merged

ci: bump publish workflow to Node 22#29
JSv4 merged 1 commit into
mainfrom
ci/fix-publish-node-version

Conversation

@JSv4

@JSv4 JSv4 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

The v0.7.0 release run failed at the very first step, before installing dependencies or publishing anything:

```
npm error code EBADENGINE
npm error engine Not compatible with your version of node/npm: npm@12.0.1
npm error engine Required: {"node":"^22.22.2 || ^24.15.0 || >=26.0.0"}
npm error engine Actual: {"npm":"10.8.2","node":"v20.20.2"}
```

`npm install -g npm@latest` now resolves to an npm release that requires Node ≥22, but the workflow pins Node 20. Nothing was published — this fails before npm publish runs.

Fix

Bump node-version to 22 in publish.yml only (this doesn't touch ci.yml, which doesn't hit this code path since it never installs npm@latest).

npm install -g npm@latest now requires Node >=22.22.2, so the
release workflow was failing with EBADENGINE on Node 20 before it
ever reached the publish step.
@JSv4
JSv4 merged commit 3c8d777 into main Jul 12, 2026
3 checks passed
@JSv4
JSv4 deleted the ci/fix-publish-node-version branch July 12, 2026 02: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.

1 participant