Skip to content

Commit

Permalink
chore: add back node v6 support (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfischer committed Jan 10, 2022
1 parent 92d8c42 commit 5d6365b
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
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
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
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
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 5d6365b

Please sign in to comment.