From 5e037e2bfcf544c8f56639b1cb482737da476f90 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 4 Feb 2025 21:30:08 +0100 Subject: [PATCH] test(ci): speed up playwright by using container with browsers Signed-off-by: Max --- .github/workflows/playwright.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b476e0fec..2444966ff 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -9,6 +9,9 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.50.1-noble + options: --user 1001 steps: - name: Checkout app uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -43,9 +46,6 @@ jobs: npm ci TESTING=true npm run build --if-present - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests run: npx playwright test