Skip to content

Commit eb3bb1d

Browse files
author
lukaw3d
committed
Speedup CI: use playwright container instead of installing system deps
1 parent 051833e commit eb3bb1d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.changelog/2166.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Speedup playwright CI

.github/workflows/ci-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
name: playwright
8888
needs: [playwright-prepare]
8989
runs-on: ubuntu-latest
90+
container:
91+
image: mcr.microsoft.com/playwright:v1.46.1-noble
92+
options: --user 1001
9093
strategy:
9194
fail-fast: false
9295
matrix:
@@ -109,9 +112,6 @@ jobs:
109112
# outside sharding: yarn + build:ext + build + upload
110113
# and then 8x shard: download builds + serve + test
111114
- run: REACT_APP_E2E_TEST=1 node ./playwright/serve-prod.js &
112-
- name: Install playwright's system dependencies
113-
working-directory: ./playwright/
114-
run: npx playwright install --with-deps
115115
- run: npx wait-on http://localhost:5000/ --timeout 60000
116116
- name: Run playwright tests (with xvfb-run to support headed extension test)
117117
working-directory: ./playwright/

0 commit comments

Comments
 (0)