From 59025071b96edc1dc64d5de2338069cc17f07c1f Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Fri, 20 Dec 2024 09:33:10 +0100 Subject: [PATCH] chore: use githubs builtin chrome for playwright (#17829) --- .github/workflows/default.yml | 10 ---------- playwright.config.js | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 2e6ea62bd..5ebdada5f 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -208,16 +208,6 @@ jobs: - name: Build Go run: make build - - uses: actions/cache@v4 - id: playwright-cache - with: - path: | - ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }} - - - name: Install playwright - run: npx playwright install --with-deps chromium - - name: Run tests run: npx playwright test diff --git a/playwright.config.js b/playwright.config.js index f34b6875c..f5a84b4c1 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -19,7 +19,7 @@ export default defineConfig({ projects: [ { name: "chromium", - use: { ...devices["Desktop Chrome"] }, + use: { ...devices["Desktop Chrome"], channel: "chrome" }, }, ], });