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