chore: use githubs builtin chrome for playwright (#17829)
This commit is contained in:
parent
7df6b5b8e4
commit
59025071b9
2 changed files with 1 additions and 11 deletions
10
.github/workflows/default.yml
vendored
10
.github/workflows/default.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export default defineConfig({
|
|||
projects: [
|
||||
{
|
||||
name: "chromium",
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
use: { ...devices["Desktop Chrome"], channel: "chrome" },
|
||||
},
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue