Skip to content

Setup Node.js in release workflow#2010

Merged
NicoPennec merged 1 commit into
cgwire:mainfrom
NicoPennec:main
May 12, 2026
Merged

Setup Node.js in release workflow#2010
NicoPennec merged 1 commit into
cgwire:mainfrom
NicoPennec:main

Conversation

@NicoPennec
Copy link
Copy Markdown
Member

Problem

GitHub Actions runners don't honor the engines.node field from package.json. Since the bump to >=22.22.1, the release workflow keeps running with the runner's default Node, which no longer satisfies the constraint — npm ci and npm run build fail, and no artifact is produced.

Solution

Add an explicit actions/setup-node@v6 step that reads the version from package.json, so the release runtime stays aligned with engines.

Pin the version from `package.json` so the release stays in sync with engines.
@NicoPennec NicoPennec merged commit c1adf8e into cgwire:main May 12, 2026
5 checks passed
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