Skip to content

Commit 773dd5a

Browse files
authored
playwright: omit optional dependency during npm ci (#8314)
2 parents c675b74 + df3fa34 commit 773dd5a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/playwright-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
node-version: 24.15.0
3636

3737
- name: Install dependencies
38-
run: cd php/tests && npm ci
38+
run: cd php/tests && npm ci --omit=optional
3939

4040
- name: Install Playwright Browsers
4141
run: cd php/tests && npx playwright install --with-deps chromium

.github/workflows/playwright-on-workflow-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
node-version: 24.15.0
2121

2222
- name: Install dependencies
23-
run: cd php/tests && npm ci
23+
run: cd php/tests && npm ci --omit=optional
2424

2525
- name: Install Playwright Browsers
2626
run: cd php/tests && npx playwright install --with-deps chromium

0 commit comments

Comments
 (0)