Skip to content

Commit

Permalink
chore: use githubs builtin chrome for playwright (#17829)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored Dec 20, 2024
1 parent 7df6b5b commit 5902507
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig({
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
use: { ...devices["Desktop Chrome"], channel: "chrome" },
},
],
});

0 comments on commit 5902507

Please sign in to comment.