Skip to content

Commit 09118a2

Browse files
authored
chore: use --only-shell when installing chromium for tests (#2638)
1 parent 1a63f17 commit 09118a2

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
run: pnpm install
109109

110110
- name: Install Playwright browsers
111-
run: pnpm exec playwright install
111+
run: pnpm exec playwright install chromium --with-deps --only-shell
112112

113113
- name: Unit tests
114114
run: pnpm test:unit
@@ -235,7 +235,7 @@ jobs:
235235
run: pnpm install
236236

237237
- name: Playwright install
238-
run: pnpm exec playwright install --with-deps chromium
238+
run: pnpm exec playwright install chromium --with-deps --only-shell
239239

240240
- name: Browser tests
241241
run: pnpm test:browser

.github/workflows/compat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: pnpm install
2929

3030
- name: Install Playwright browsers
31-
run: pnpm exec playwright install
31+
run: pnpm exec playwright install chromium --with-deps --only-shell
3232

3333
- name: Build
3434
run: pnpm build

.github/workflows/release-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: pnpm install
3030

3131
- name: Install Playwright browsers
32-
run: pnpm exec playwright install
32+
run: pnpm exec playwright install chromium --with-deps --only-shell
3333

3434
- name: Lint
3535
run: pnpm lint

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: pnpm install
4040

4141
- name: Install Playwright browsers
42-
run: pnpm exec playwright install
42+
run: pnpm exec playwright install chromium --with-deps --only-shell
4343

4444
- name: Lint
4545
run: pnpm lint

0 commit comments

Comments
 (0)