Skip to content

Commit b69cad4

Browse files
authored
ci: use Playwright container image for CI e2e job (#1597)
* Initial plan * Use Playwright container for e2e workflow * Align Playwright container version with test runtime --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 4fdbb59 commit b69cad4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
e2e:
3333
name: E2E tests
3434
runs-on: ubuntu-latest
35+
container:
36+
image: mcr.microsoft.com/playwright:v1.56.1-noble
37+
options: --user 1001
3538

3639
steps:
3740
- uses: actions/checkout@v6
@@ -44,9 +47,6 @@ jobs:
4447
- name: Install Node dependencies
4548
run: npm ci
4649

47-
- name: Install Playwright
48-
run: npx playwright install --with-deps chromium
49-
5050
- name: Run E2E tests
5151
run: npx playwright test --project=chromium --reporter=github,html
5252

0 commit comments

Comments
 (0)