Skip to content

Commit 90df756

Browse files
committed
ci: align Node version with .node-version to fix pkg-pr-new fetch crash
Node 20.10.0 ships undici 5.27.x, which has a race where fetch's ReadableStream controller closes before enqueue, causing pkg-pr-new publish to crash with ERR_INVALID_STATE. Reading from .node-version matches ci-fork.yml and picks up a Node with the undici fix.
1 parent 7b87195 commit 90df756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
id: cache
2020
with:
21-
node-version: '20.10.0'
21+
node-version-file: '.node-version'
2222
cache: 'pnpm'
2323

2424
- run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)