Skip to content

Upgrade the Node.js version of the publish workflow to 24.x - #150

Merged
ArtyomVancyan merged 1 commit into
masterfrom
ci/publish-node-24
Nov 21, 2026
Merged

ArtyomVancyan merged 1 commit into
masterfrom
ci/publish-node-24

Conversation

@ArtyomVancyan

Copy link
Copy Markdown
Member

Problem

The v0.1.23 publish run failed at yarn && yarn install (run):

error node-releases@2.0.65: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2"

Yarn 1 enforces the engines field. node-releases@2.0.65, published 2026-11-17 and pulled in by ts-jest → @babel/core → browserslist, requires Node.js >=18. The repo has no lockfile, so the publish job picked it up on Node.js 16. Nothing was published; npm is still at 0.1.22.

Change

publish.yml: node-version: 16.x → 24.x (the current LTS).

Verification

In a clean clone of v0.1.23, yarn && yarn install fails on Node.js 16 with the error above. On Node.js 24, both yarn && yarn install and yarn build succeed.

🤖 Generated with Claude Code

Yarn enforces the engines field, and node-releases@2.0.65 (via ts-jest)
requires Node.js >=18, which broke the v0.1.23 publish on Node.js 16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ArtyomVancyan
ArtyomVancyan merged commit dce75d2 into master Nov 21, 2026
10 checks passed
@ArtyomVancyan
ArtyomVancyan deleted the ci/publish-node-24 branch November 21, 2026 18:28
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