mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-10 08:37:02 +00:00
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:
committed by
GitHub
parent
a78622e69a
commit
061b8c8a87
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user