Skip to content

Build: Test on Node 17, update Grunt & karma-* packages #5023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2022
Merged

Conversation

mgol
Copy link
Member

@mgol mgol commented Mar 10, 2022

Summary

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.

Checklist

Sorry, something went wrong.

@mgol mgol added the Build label Mar 10, 2022
@mgol mgol added this to the 3.6.1 milestone Mar 10, 2022
@mgol mgol self-assigned this Mar 10, 2022
@mgol mgol force-pushed the node17 branch 3 times, most recently from 8c7dc99 to 08c5814 Compare March 10, 2022 16:49
@mgol mgol modified the milestones: 3.6.1, 4.0.0 Mar 10, 2022
@mgol mgol force-pushed the node17 branch 3 times, most recently from fda050d to a514f3c Compare March 10, 2022 16:58
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.
@mgol mgol marked this pull request as ready for review March 10, 2022 17:07
Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just need to run those tests somewhere and we're still running on 16.

@mgol mgol changed the title Build: Test on Node 17 Build: Test on Node 17, update Grunt & karma-* packages Mar 14, 2022
@mgol mgol merged commit 2525cff into jquery:main Mar 14, 2022
@mgol mgol removed the Needs review label Mar 14, 2022
@mgol mgol deleted the node17 branch March 14, 2022 16:58
mgol added a commit to mgol/jquery that referenced this pull request Mar 14, 2022
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 jquerygh-5023

(cherry picked from commit 2525cff)
@mgol
Copy link
Member Author

mgol commented Mar 14, 2022

Landed on main in 2525cff and on 3.x-stable in 9bc0df7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants