Skip to content

fix(ci): run the publish job on Node 24 - #95

Merged
iqbalhasandev merged 1 commit into
mainfrom
fix/publish-node-version
Sep 20, 2026
Merged

iqbalhasandev merged 1 commit into
mainfrom
fix/publish-node-version

Conversation

@iqbalhasandev

Copy link
Copy Markdown
Member

The publish job pinned node-version: '20' and then ran npm install -g npm@latest. npm 12 requires Node ^22.22.2 || ^24.15.0 || >=26.0.0, so that step failed:

npm error code EBADENGINE
npm error notsup Required: {"node":"^22.22.2 || ^24.15.0 || >=26.0.0"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v20.20.2"}

The release therefore never reached npm publish. A recent npm is required here for OIDC trusted publishing, so the Node version moves rather than the npm version.

This only affects the publish job. The test matrix still covers Node 20 and 22.

The job pinned Node 20 and then ran `npm install -g npm@latest`. npm 12
requires Node ^22.22.2 || ^24.15.0 || >=26.0.0, so that step failed with
EBADENGINE and the release never published. A recent npm is needed here
for OIDC trusted publishing, so the Node version moves rather than the
npm version.
Copilot AI lite review requested due to automatic review settings September 20, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@iqbalhasandev
iqbalhasandev merged commit bc98326 into main Sep 20, 2026
8 checks passed
@iqbalhasandev
iqbalhasandev deleted the fix/publish-node-version branch September 20, 2026 10:41
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