From d5bedae84c4d4099a7355ec4e221f4ddf0f8fea9 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Sat, 27 Jun 2026 19:32:42 -0500 Subject: [PATCH] =?UTF-8?q?fix(ci):=20pin=20Node=20to=2022=20LTS=20?= =?UTF-8?q?=E2=80=94=2024.17.0=20breaks=20node-fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 24.17.0 (what `.node-version: 24` resolves to on the runner) breaks node-fetch@2.7.0 against api.github.com with "Premature close". That is the HTTP client @changesets/get-github-info uses, so changelog generation fails during `changeset version` and blocks the release. Reproduced with the same token, query, and node-fetch@2.7.0: Node 24.17.0 throws even on a trivial query, while 24.16.0 and 22.23.1 succeed. Pin to Node 22 LTS in .node-version and mise.toml. Co-Authored-By: Claude Opus 4.8 (1M context) --- .node-version | 2 +- mise.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.node-version b/.node-version index a45fd52..2bd5a0a 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -24 +22 diff --git a/mise.toml b/mise.toml index 115c747..3567829 100644 --- a/mise.toml +++ b/mise.toml @@ -2,5 +2,5 @@ _.path = ["{{config_root}}/node_modules/.bin"] [tools] -node = "24" +node = "22" pnpm = "10.6.4"