Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite77bd9d

Browse files
authored
Build: Only install Playwright dependencies when needed
PRgh-5190 added support for running tests on Playwright WebKitin CI. For efficiency reasons, Playwright dependencies are onlyinstalled for the `test:browser` npm script. However, that samescript is also used for Firefox ESR testing.This change makes Playwright dependencies installed only for caseswhere `WebKitHeadless` exists on the list of tested browsers.Closesgh-5204Refgh-5190
1 parentce264e0 commite77bd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
-name:Install Playwright dependencies
7575
run:npx playwright-webkit install-deps
76-
if:"matrix.NPM_SCRIPT == 'test:browser'"
76+
if:"matrix.NPM_SCRIPT == 'test:browser' && contains(matrix.BROWSERS, 'WebkitHeadless')"
7777

7878
-name:Run tests
7979
env:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp