Skip to content

Commit 57dc239

Browse files
authored
ci: use playwright image for e2e tests (#86)
1 parent 85b97fe commit 57dc239

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"ui": "playwright test --ui"
1010
},
1111
"devDependencies": {
12-
"@playwright/test": "^1.40.1"
12+
"@playwright/test": "1.40.1"
1313
}
1414
}

.github/workflows/playwright.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
test:
1414
timeout-minutes: 60
1515
runs-on: ubuntu-latest
16+
container:
17+
image: mcr.microsoft.com/playwright:v1.40.1-focal
1618
steps:
1719
- uses: actions/checkout@v4
1820
- run: corepack enable
@@ -24,8 +26,8 @@ jobs:
2426
- name: Install dependencies
2527
run: pnpm install
2628

27-
- name: Install Playwright Browsers
28-
run: pnpm exec playwright install --with-deps
29+
- name: Install playwright
30+
run: pnpm playwright install
2931

3032
- name: Run Playwright tests
3133
run: pnpm --filter e2e test:all

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)