Install the pinned node when the installed one is another major version (closes #118) #127

Merged
clawbot merged 1 commits from issue-118-pinned-node into next 2026-10-08 04:14:22 +02:00
1 Commits
Author SHA1 Message Date
sneak 22b2f19a4c Install the pinned node when the installed one is another major version (closes #118)
check / check (push) Waiting to run
script/bootstrap used whatever node was installed, so on the CI runner
image, which ships node 24, the pinned yarn 1.22.22 printed the
deprecation warning DEP0169 on every bootstrap. It now uses the
installed node only when its major version is the pinned one, and
otherwise installs the pinned node with nvm, as it already did when node
was missing, with yarn and the packages under it. It prints the node
version it uses. Only the major is compared because the Dockerfile
stages use a node 22 alpine image that nvm cannot replace. script/fmt
and script/fmt-check carry the same test to pick their yarn: the yarn on
PATH, or yarn under the pinned node loaded through nvm.

Model: opus-5-5
2026-10-08 01:34:57 +00:00