Skip to content

Commit

Permalink
chore: add back node v6 support
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nfischer committed Jan 10, 2022
1 parent 92d8c42 commit 635e287
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
fail-fast: false
matrix:
node-version:
- 6
- 7
- 8
- 9
- 10
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
commands, providing an easy solution for simple Unix-like, cross-platform
commands in npm package scripts.

`shx` is proudly tested on every node release since <!-- start minVersion -->`v8`<!-- stop minVersion -->!
`shx` is proudly tested on every node release since <!-- start minVersion -->`v6`<!-- stop minVersion -->!

## Difference Between ShellJS and shx

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@
"shelljs": "^0.8.5"
},
"engines": {
"node": ">=8"
"node": ">=6"
}
}
2 changes: 1 addition & 1 deletion scripts/check-node-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var yaml = require('js-yaml');
var shell = require('shelljs');

// This is the authoritative list of supported node versions.
var MIN_NODE_VERSION = 8;
var MIN_NODE_VERSION = 6;
var MAX_NODE_VERSION = 14;

function checkReadme(minNodeVersion) {
Expand Down

0 comments on commit 635e287

Please sign in to comment.