From 6af528574fcbd100bc9b0de14342361b7bfdf27a Mon Sep 17 00:00:00 2001 From: Denis Skripchenko Date: Mon, 26 Oct 2026 21:58:30 +0300 Subject: [PATCH] ci: browser check in the Playwright image (no apt), job timeout Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3989ef..815cfa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,11 @@ jobs: browser: name: Browser check runs-on: ubuntu-latest + timeout-minutes: 20 + # The browsers and their system libraries come with the image (matching the + # playwright version in the lockfile): no apt, whose mirrors stall. + container: + image: mcr.microsoft.com/playwright:v1.64.1-noble steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 @@ -41,7 +46,6 @@ jobs: node-version: 22 cache: pnpm - run: pnpm install --frozen-lockfile - - run: pnpm exec playwright install --with-deps chromium-headless-shell - run: pnpm build - run: node scripts/browser-check.mjs - uses: actions/upload-artifact@v4