chore: use githubs builtin chrome for playwright (#17829)

This commit is contained in:
Michael Geers 2024-12-20 09:33:10 +01:00 • committed by GitHub
parent 7df6b5b8e4
commit 59025071b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 11 deletions

View file

@ -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

View file

@ -19,7 +19,7 @@ export default defineConfig({
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
use: { ...devices["Desktop Chrome"], channel: "chrome" },
},
],
});