From 2c82acf55c2cdc9c7b6dcda1b2fc18f316fdf20e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Jul 2026 09:14:49 +0000 Subject: [PATCH] Skip Playwright's Chromium download and modernize Node/actions versions (#3) The Install dependencies step hung indefinitely: a nested dependency pulls in @playwright/test@1.25.0, whose postinstall unconditionally tries to download its own Chromium build, which either errors or hangs depending on network conditions. Verified locally that setting PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 gets the install fully past that stage (previously it failed/hung exactly there every time). Also bumped actions/checkout and actions/setup-node to current majors and the pinned Node version from the long-EOL 14.x to 20.x, since GitHub Actions has been progressively forcing old-runtime actions onto newer Node versions anyway. --- .github/workflows/test-logic-and-interface.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-logic-and-interface.yml b/.github/workflows/test-logic-and-interface.yml index 0054d41d..36a88832 100644 --- a/.github/workflows/test-logic-and-interface.yml +++ b/.github/workflows/test-logic-and-interface.yml @@ -5,12 +5,17 @@ on: [push, pull_request] jobs: test-logic-and-interface: runs-on: ubuntu-latest + env: + # A nested dependency pulls in an old @playwright/test whose + # postinstall otherwise always tries (and, on this pinned old + # version, fails/hangs) to download its own Chromium build. + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '14.x' + node-version: '20.x' - name: Install dependencies run: npm run setup - name: Build project