Build: Test on Node.js 15

Also, run browser tests on Node 14 instead of 12.

Closes gh-4802
This commit is contained in:
Michał Gołębiowski-Owczarek 2020-11-11 23:02:22 +01:00 committed by GitHub
parent 5c2d08704e
commit 6984d17476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,13 @@ node_js:
- "10" - "10"
- "12" - "12"
- "14" - "14"
- "15"
env: env:
- NPM_SCRIPT=test:browserless - NPM_SCRIPT=test:browserless
jobs: jobs:
include: include:
- name: "Browser tests: full build, Chrome & Firefox stable" - name: "Browser tests: full build, Chrome & Firefox stable"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:browser" - NPM_SCRIPT="test:browser"
- BROWSERS="ChromeHeadless,FirefoxHeadless" - BROWSERS="ChromeHeadless,FirefoxHeadless"
@ -17,35 +18,35 @@ jobs:
chrome: stable chrome: stable
firefox: latest firefox: latest
- name: "Browser tests: slim build, Chrome stable" - name: "Browser tests: slim build, Chrome stable"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:slim" - NPM_SCRIPT="test:slim"
- BROWSERS="ChromeHeadless" - BROWSERS="ChromeHeadless"
addons: addons:
chrome: stable chrome: stable
- name: "Browser tests: no-deprecated build, Chrome stable" - name: "Browser tests: no-deprecated build, Chrome stable"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:no-deprecated" - NPM_SCRIPT="test:no-deprecated"
- BROWSERS="ChromeHeadless" - BROWSERS="ChromeHeadless"
addons: addons:
chrome: stable chrome: stable
- name: "Browser tests: ES modules build, Chrome stable" - name: "Browser tests: ES modules build, Chrome stable"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:esmodules" - NPM_SCRIPT="test:esmodules"
- BROWSERS="ChromeHeadless" - BROWSERS="ChromeHeadless"
addons: addons:
chrome: stable chrome: stable
- name: "Browser tests: AMD build, Chrome stable" - name: "Browser tests: AMD build, Chrome stable"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:amd" - NPM_SCRIPT="test:amd"
- BROWSERS="ChromeHeadless" - BROWSERS="ChromeHeadless"
addons: addons:
chrome: stable chrome: stable
- name: "Browser tests: full build, Firefox ESR" - name: "Browser tests: full build, Firefox ESR"
node_js: "12" node_js: "14"
env: env:
- NPM_SCRIPT="test:browser" - NPM_SCRIPT="test:browser"
- BROWSERS="FirefoxHeadless" - BROWSERS="FirefoxHeadless"