From dbaa07d2f87a7f6ffec491ac02505441e7499bfa Mon Sep 17 00:00:00 2001 From: OfficialAbhinavSingh Date: Fri, 6 Nov 2026 13:37:00 +0530 Subject: [PATCH] ci(frontend): install only Playwright's browser, not the apt font packages --with-deps also apt-installs nine font packages (21.9 MB) that no test needs: the app bundles its own fonts and no test compares pixels, and the browser's libraries are already on the runner. On 2026-11-06 that download from the Azure Ubuntu mirror ran at 40 kB/s (8 min 56 s), and the job hit its 15-minute timeout twice on main, so #80 never deployed. The install step now has its own 5-minute cap and the job 25 minutes. --- .github/workflows/frontend.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 7acd1e23..94a5f042 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -21,7 +21,7 @@ defaults: jobs: check: runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 25 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -43,7 +43,11 @@ jobs: - run: npm run lint - run: npm run format:check - run: npm run build - - run: npx playwright install --with-deps chromium + # The browser only. `--with-deps` also apt-installs nine font packages (CJK, unifont) that no test needs, + # since the app bundles its own fonts and no test compares pixels; the browser's libraries are already on + # the runner. That apt download from the Azure mirror has taken 9 minutes and timed the whole job out. + - run: npx playwright install chromium + timeout-minutes: 5 - run: npm run test:e2e - uses: actions/upload-artifact@v4 if: failure()