Skip to content

Commit

Permalink
ci: add Node v22 (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed May 10, 2024
1 parent 684eda0 commit cd1099a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x]
shard: ["1/4", "2/4", "3/4", "4/4"]
webpack-version: [latest]
dev-server-version: [latest]
Expand Down
4 changes: 2 additions & 2 deletions test/utils/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ const normalizeStderr = (stderr) => {
}

// TODO remove me after drop old Node.js versions and update deps
// Suppress warnings for Node.js version >= v21
// Suppress warnings for Node.js version >= v22
// [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
if (process.version.startsWith("v21")) {
if (process.version.startsWith("v22")) {
normalizedStderr = normalizedStderr
.split("\n")
.filter((line) => {
Expand Down

0 comments on commit cd1099a

Please sign in to comment.