Skip to content

Commit 613ed18

Browse files
authored
ci: pin Node to 24.16.0 in release workflow (#29)
Node 24.17.0 regressed node-fetch@2's gzip handling, causing @changesets/changelog-github's GraphQL request to fail with ERR_STREAM_PREMATURE_CLOSE during changelog generation. The floating 'node-version: 24' resolved to 24.17.0. Pin to 24.16.0, the last known-good 24.x. Ref: changesets/changesets#2115
1 parent 6b70a5c commit 613ed18

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 24
28+
# Pinned: Node 24.17.0 regressed node-fetch@2's gzip handling, making
29+
# @changesets/changelog-github's GraphQL call fail with
30+
# ERR_STREAM_PREMATURE_CLOSE. 24.16.0 is the last known-good 24.x.
31+
# https://github.com/changesets/changesets/issues/2115
32+
node-version: 24.16.0
2933
cache: pnpm
3034

3135
- name: Install Dependencies

0 commit comments

Comments
 (0)