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.
This commit is contained in:
copilot-swe-agent[bot]
2026-06-02 14:48:35 +00:00
committed by GitHub
parent a78622e69a
commit 061b8c8a87
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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