]> 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)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 20 Mar 2023 16:14:15 +0000 (17:14 +0100)
commit212b6a4fce06b7435bbe9d8494e470881badacc6
tree78972ade806b8d581507047b6b195c270827f9b0
parent98dd622a55e672ef972cdd0854e7cd2f2db4e8ca
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

(cherry picked from commit e77bd9d64fc696cadfe1f8c9ebb50d7609a97b07)
.github/workflows/node.js.yml