Skip to content

Commit 28af7fd

Browse files
committed
chore: update node on GitHub actions
No change to logic. This adds Node v24 to GitHub Actions CI. This drops official support for Node v18 because it was marked end-of-life in March 2025.
1 parent 7c2dd8c commit 28af7fd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13-
- 18
1413
- 20
1514
- 22
15+
- 24
1616
os:
1717
- ubuntu-latest
1818
- macos-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
commands, providing an easy solution for simple Unix-like, cross-platform
1010
commands in npm package scripts.
1111

12-
`shx` is proudly tested on every LTS node release since <!-- start minVersion -->`v18`<!-- stop minVersion -->!
12+
`shx` is proudly tested on every LTS node release since <!-- start minVersion -->`v20`<!-- stop minVersion -->!
1313

1414
## Difference Between ShellJS and shx
1515

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
"shelljs": "^0.10.0"
6161
},
6262
"engines": {
63-
"node": ">=18"
63+
"node": ">=20"
6464
}
6565
}

scripts/check-node-support.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ var yaml = require('js-yaml');
88
var shell = require('shelljs');
99

1010
// This is the authoritative list of supported node versions.
11-
var MIN_NODE_VERSION = 18;
12-
var MAX_NODE_VERSION = 22;
11+
var MIN_NODE_VERSION = 20;
12+
var MAX_NODE_VERSION = 24;
1313

1414
function checkReadme(minNodeVersion) {
1515
var start = '<!-- start minVersion -->';

0 commit comments

Comments
 (0)