]> source.dussan.org Git - jquery.git/commit
Build: Only install Playwright dependencies when needed
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 20 Mar 2023 16:13:31 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Mar 2023 16:13:31 +0000 (17:13 +0100)
commite77bd9d64fc696cadfe1f8c9ebb50d7609a97b07
treeaa0fe3ea3e27594234284f243f537bfb08f8d42e
parentce264e0789116e37fe371503537a217c038dfae8
Build: Only install Playwright dependencies when needed

PR gh-5190 added support for running tests on Playwright WebKit
in CI. For efficiency reasons, Playwright dependencies are only
installed for the `test:browser` npm script. However, that same
script is also used for Firefox ESR testing.

This change makes Playwright dependencies installed only for cases
where `WebKitHeadless` exists on the list of tested browsers.

Closes gh-5204
Ref gh-5190
.github/workflows/node.js.yml