From 46fed78e87ff708581b163a81ab78493c9fbd9dd Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Tue, 23 Jan 2024 17:04:48 +0100 Subject: [PATCH] try using playwright container to speedup browser setup --- .github/workflows/playwright.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 48a004f5..c0f60204 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -8,6 +8,8 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.41.1-jammy services: mailpit: image: 'axllent/mailpit:latest' @@ -46,9 +48,6 @@ jobs: - name: Run Laravel Server run: php artisan serve > /dev/null 2>&1 & - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests run: npx playwright test env: