From c5e78d43745c65c26a73f9cb86c2769ad2668f5c Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Sun, 22 Jun 2025 14:05:12 +1200 Subject: [PATCH] ci(playwright): use playwright official docker container --- .github/workflows/ci-pipeline.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index d6eec5a..d1ee28b 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -124,6 +124,9 @@ jobs: needs: [check_changes, setup] if: ${{ needs.check_changes.outputs.exists == 'true' }} runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.53.0-noble + options: --user 1001 steps: - uses: actions/checkout@v4 with: @@ -160,16 +163,6 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - - name: Cache Playwright Browsers - uses: actions/cache@v4 - with: - path: ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: ${{ runner.os }}-playwright- - - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - - name: Run Playwright Tests run: pnpm exec turbo run test:playwright timeout-minutes: 10