From 6c202b2a2c9ab63d621f5d473bdc319e72051edd Mon Sep 17 00:00:00 2001 From: Warren Lee <5959690+wrn14897@users.noreply.github.com> Date: Thu, 22 Oct 2026 14:13:35 -0700 Subject: [PATCH] ci(e2e): skip apt deps in Playwright install The ubuntu-24.04 runner image already ships Chromium's shared libs, so --with-deps only installed unused fonts and xvfb. Its apt step stalled one shard's setup for 13 minutes on a slow Ubuntu mirror. --- .github/actions/e2e-setup/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e-setup/action.yml b/.github/actions/e2e-setup/action.yml index f4eaaf1ac9..5d192d6593 100644 --- a/.github/actions/e2e-setup/action.yml +++ b/.github/actions/e2e-setup/action.yml @@ -46,7 +46,7 @@ runs: # version, so it isn't re-downloaded every shard/run. Browser versions are # pinned to the Playwright package version, so the version is the correct # cache key. On a hit, `playwright install` finds the browser present and - # only installs OS deps. + # does nothing. - name: Resolve Playwright version id: playwright-version shell: bash @@ -62,9 +62,11 @@ runs: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }} + # No --with-deps: the ubuntu-24.04 image already ships Chromium's shared + # libs, and the apt step it adds can stall for 10+ min on a slow mirror. - name: Install Playwright browsers shell: bash - run: cd packages/app && npx playwright install --with-deps chromium + run: cd packages/app && npx playwright install chromium - name: Start E2E Docker Compose shell: bash