Skip to content

Commit

Permalink
Build: Update npm dependencies
Browse files Browse the repository at this point in the history
Keep `uglify-js` at `3.9.4` for now, though, to not break IE 9.
Also, don't update Rollup as version 3 doesn't run on Node.js 10
and for now we need to support it.

In addition, stop testing on Node.js 16 & test on version 18.
  • Loading branch information
mgol committed Feb 23, 2023
1 parent 072e44d commit 06b94df
Show file tree
Hide file tree
Showing 4 changed files with 1,059 additions and 4,576 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
# Node.js 10 is required by jQuery infra
NODE_VERSION: [10.x, 16.x]
NODE_VERSION: [10.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ module.exports = function( grunt ) {
} );

// Load grunt tasks from NPM packages
require( "load-grunt-tasks" )( grunt );
require( "load-grunt-tasks" )( grunt, {
pattern: oldNode ? [ "grunt-*", "!grunt-eslint" ] : [ "grunt-*" ]
} );

// Integrate jQuery migrate specific tasks
grunt.loadTasks( "build/tasks" );
Expand Down
Loading

0 comments on commit 06b94df

Please sign in to comment.