From f1558e03a2aeecfd1497bad6cdf735f9aadc5940 Mon Sep 17 00:00:00 2001 From: tehw0lf Date: Thu, 28 May 2026 20:40:08 +0200 Subject: [PATCH 1/2] fix(ci): split playwright install to fix CI timeout Separate browser binary install (cached, skipped on cache-hit) from OS dependency install (always runs, fast) to avoid the 45-minute timeout caused by running install --with-deps unconditionally. --- .github/workflows/test-and-build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index 53691b7..5e7c90f 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -244,10 +244,15 @@ jobs: path: ~/.cache/ms-playwright key: playwright-${{ runner.os }}-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }} - - name: Install Playwright browsers and dependencies + - name: Install Playwright OS dependencies if: ${{ (inputs.tool == 'npm' || inputs.tool == 'yarn') && inputs.e2e != '' && (hashFiles('**/**/playwright.config.ts') != '' || hashFiles('**/**/playwright.config.js') != '' || hashFiles('**/**/playwright.config.mjs') != '')}} - run: | - npx playwright install --with-deps + run: npx playwright install-deps + env: + PLAYWRIGHT_BROWSERS_PATH: ~/.cache/ms-playwright + + - name: Install Playwright browsers + if: ${{ (inputs.tool == 'npm' || inputs.tool == 'yarn') && inputs.e2e != '' && steps.playwright-cache.outputs.cache-hit != 'true' && (hashFiles('**/**/playwright.config.ts') != '' || hashFiles('**/**/playwright.config.js') != '' || hashFiles('**/**/playwright.config.mjs') != '')}} + run: npx playwright install env: PLAYWRIGHT_BROWSERS_PATH: ~/.cache/ms-playwright From 0dbc76ab9ba1f600d23a00e41bbe0ad54c91a059 Mon Sep 17 00:00:00 2001 From: tehw0lf Date: Thu, 28 May 2026 20:48:13 +0200 Subject: [PATCH 2/2] ci: trigger GitGuardian check