[#66563] Split Playwright setup steps

Split the CI setup into separate Playwright dependency and browser
install steps. This shows whether apt or the browser download is slow
when a matrix job stalls.

Add short step timeouts so a stalled install fails quickly instead of
holding the browser matrix open indefinitely.

https://community.openproject.org/wp/66563
This commit is contained in:
Alexander Brandon Coles
2026-05-12 21:03:30 +02:00
parent 6a893ccac8
commit c1bbbfe9b1
+6 -1
View File
@@ -51,8 +51,13 @@ jobs:
- name: Register plugins
run: npm run ci:plugins:register_frontend
- name: Install Playwright dependencies
timeout-minutes: 5
run: npx playwright install-deps ${{ matrix.browser }}
- name: Install Playwright Browser
run: npx playwright install --only-shell --with-deps ${{ matrix.browser }}
timeout-minutes: 5
run: npx playwright install --only-shell ${{ matrix.browser }}
- name: Test
run: npm test -- --browsers ${{ matrix.browser }} --reporters dot --reporters github-actions