From a517d222b93ea88acc3c49f7de467cddd935306c Mon Sep 17 00:00:00 2001 From: Lev Gelfenbuim Date: Mon, 11 May 2026 12:19:48 +0300 Subject: [PATCH] ci(publish): pin Node to 22.x to avoid undici regression Node >=24.14 ships an undici version with a regression that breaks publish-browser-extension's Edge upload with "expected non-null body source" when fetch() is given a Request with a body and the server returns a non-2xx. The Edge step in v1.2.0 publish failed because of this. Test workflow stays on the 20/22/24 matrix; only the publish job needs the pin since it's the only one exercising fetch-with-Request-body against external store APIs. Ref: https://github.com/vercel/next.js/issues/90826 Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9427f466..95139477 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '24.x' + node-version: '22.x' cache: 'pnpm' - name: Install dependencies