aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-03-14 17:58:41 +0100
committerGitHub <noreply@github.com>2022-03-14 17:58:41 +0100
commit2525cffc42934c0d5c7aa085bc45dd6a8282e840 (patch)
treeda9cc1f9a2dd87bac6e92a93375ab2f413d7f64b /.github
parent6c2c7362fb18d3df7c2a7b13715c2763645acfcb (diff)
downloadjquery-2525cffc42934c0d5c7aa085bc45dd6a8282e840.tar.gz
jquery-2525cffc42934c0d5c7aa085bc45dd6a8282e840.zip
Build: Test on Node 17, update Grunt & `karma-*` packages
This adds testing on Node.js 17 in addition to the currently tested 10, 12, 14 and 16 versions. Also, update Grunt & `karma-*` packages. Testing in Karma on jsdom is broken in Node 17 at the moment; until we find a fix, this change disables such testing on Node 17 or newer. Node smoke tests & promises aplus tests are disabled on Node.js 10 as they depend on jsdom and the latest jsdom version doesn't run properly on Node 10. Closes gh-5023
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/node.js.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index 0b4e6950f..5c011b426 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -9,7 +9,8 @@ jobs:
fail-fast: false
matrix:
# Node.js 10 is required by jQuery infra
- NODE_VERSION: [10.x, 12.x, 14.x, 16.x]
+ # Do not remove 16.x until jsdom tests are re-enabled on newer Node.js versions.
+ NODE_VERSION: [10.x, 12.x, 14.x, 16.x, 17.x]
NPM_SCRIPT: ["test:browserless"]
include:
- NAME: "Browser tests: full build, Chrome & Firefox stable"