aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/node.js.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/node.js.yml')
-rw-r--r--.github/workflows/node.js.yml26
1 files changed, 15 insertions, 11 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index 41f29384a..23a5d02b1 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -16,28 +16,28 @@ jobs:
NODE_VERSION: [10.x, 14.x, 16.x, 18.x, 19.x]
NPM_SCRIPT: ["test:browserless"]
include:
- - NAME: "Browser tests: full build, Chrome & Firefox stable"
- NODE_VERSION: "16.x"
+ - NAME: "Browser tests: full build, Chrome, Firefox & WebKit"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:browser"
- BROWSERS: "ChromeHeadless,FirefoxHeadless"
- - NAME: "Browser tests: slim build, Chrome stable"
- NODE_VERSION: "16.x"
+ BROWSERS: "ChromeHeadless,FirefoxHeadless,WebkitHeadless"
+ - NAME: "Browser tests: slim build, Chrome"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:slim"
BROWSERS: "ChromeHeadless"
- - NAME: "Browser tests: no-deprecated build, Chrome stable"
- NODE_VERSION: "16.x"
+ - NAME: "Browser tests: no-deprecated build, Chrome"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:no-deprecated"
BROWSERS: "ChromeHeadless"
- - NAME: "Browser tests: selector-native build, Chrome stable"
- NODE_VERSION: "16.x"
+ - NAME: "Browser tests: selector-native build, Chrome"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:selector-native"
BROWSERS: "ChromeHeadless"
- NAME: "Browser tests: AMD build, Chrome stable"
- NODE_VERSION: "16.x"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:amd"
BROWSERS: "ChromeHeadless"
- NAME: "Browser tests: full build, Firefox ESR"
- NODE_VERSION: "16.x"
+ NODE_VERSION: "18.x"
NPM_SCRIPT: "test:browser"
BROWSERS: "FirefoxHeadless"
steps:
@@ -67,6 +67,10 @@ jobs:
run: |
npm install
+ - name: Install Playwright dependencies
+ run: npx playwright-webkit install-deps
+ if: "matrix.NPM_SCRIPT == 'test:browser'"
+
- name: Run tests
env:
BROWSERS: ${{ matrix.BROWSERS }}