From f16930352dc0a0db16e65289ae756ec5e2c0fb81 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Sat, 22 Nov 2025 12:54:32 -1000 Subject: [PATCH] Pin Node.js to 22.11.0 to avoid V8 crash bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pin Node.js version to 22.11.0 (LTS) in CI workflows to avoid V8 bug that causes crashes during yalc publish and other operations. Reference: https://github.com/nodejs/node/issues/56010 Also standardize Playwright workflow to use 'yarn run' instead of bare 'yarn' commands for consistency with other workflows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/lint-js-and-ruby.yml | 4 +++- .github/workflows/playwright.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-js-and-ruby.yml b/.github/workflows/lint-js-and-ruby.yml index 2d55546b91..7c154f1d78 100644 --- a/.github/workflows/lint-js-and-ruby.yml +++ b/.github/workflows/lint-js-and-ruby.yml @@ -95,7 +95,9 @@ jobs: - name: Setup Node uses: ./.github/actions/setup-node-with-retry with: - node-version: 22 + # Pin to 22.11.0 (LTS) to avoid V8 bug in 22.21.0 + # https://github.com/nodejs/node/issues/56010 + node-version: '22.11.0' cache: yarn cache-dependency-path: '**/yarn.lock' - name: Print system information diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 92a0525dc5..aac0231bd2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -78,11 +78,11 @@ jobs: - name: Build test assets working-directory: spec/dummy - run: yarn build:test + run: yarn run build:test - name: Run Playwright tests working-directory: spec/dummy - run: yarn test:e2e + run: yarn run test:e2e - uses: actions/upload-artifact@v4 if: always()