From 061b8c8a87f12108c9f9fa7ca391a72cb19e7193 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Jun 2026 14:48:35 +0000 Subject: [PATCH] fix(ci): split playwright install into separate deps and browser steps to prevent hang The combined `npx playwright install --with-deps chromium` command was hanging after downloading Chromium, causing the CI job to time out at 60 minutes. Splitting into `install-deps` (system packages) and `install` (browser download) avoids the hang. --- .github/workflows/playwright-on-push.yml | 5 ++++- .github/workflows/playwright-on-workflow-dispatch.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright-on-push.yml b/.github/workflows/playwright-on-push.yml index e9ed64ae..8ebf8b60 100644 --- a/.github/workflows/playwright-on-push.yml +++ b/.github/workflows/playwright-on-push.yml @@ -37,8 +37,11 @@ jobs: - name: Install dependencies run: cd php/tests && npm ci + - name: Install Playwright system dependencies + run: cd php/tests && npx playwright install-deps chromium + - name: Install Playwright Browsers - run: cd php/tests && npx playwright install --with-deps chromium + run: cd php/tests && npx playwright install chromium - name: Set up php 8.5 uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 diff --git a/.github/workflows/playwright-on-workflow-dispatch.yml b/.github/workflows/playwright-on-workflow-dispatch.yml index 8a2876ee..a1a4ff43 100644 --- a/.github/workflows/playwright-on-workflow-dispatch.yml +++ b/.github/workflows/playwright-on-workflow-dispatch.yml @@ -22,8 +22,11 @@ jobs: - name: Install dependencies run: cd php/tests && npm ci + - name: Install Playwright system dependencies + run: cd php/tests && npx playwright install-deps chromium + - name: Install Playwright Browsers - run: cd php/tests && npx playwright install --with-deps chromium + run: cd php/tests && npx playwright install chromium - name: Start fresh development server run: |