Skip to content

Commit c2d3693

Browse files
committed
chore: add back node v6 support
No change to logic. This adds back node v6 support to partially revert #186. I'm hoping that v6 support is easier now that we rely on GitHub actions for codecov. The motivation for this change is so that we can make 0.3.x patch releases if necessary.
1 parent b7a334f commit c2d3693

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13+
- 6
14+
- 7
1315
- 8
1416
- 9
1517
- 10

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 node release since <!-- start minVersion -->`v8`<!-- stop minVersion -->!
12+
`shx` is proudly tested on every node release since <!-- start minVersion -->`v6`<!-- 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
@@ -75,6 +75,6 @@
7575
"shelljs": "^0.8.5"
7676
},
7777
"engines": {
78-
"node": ">=8"
78+
"node": ">=6"
7979
}
8080
}

scripts/check-node-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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 = 8;
11+
var MIN_NODE_VERSION = 6;
1212
var MAX_NODE_VERSION = 14;
1313

1414
function checkReadme(minNodeVersion) {

0 commit comments

Comments
 (0)