Skip to content

Commit 8931c6b

Browse files
authored
fix(node): remove node 6 and 8 support (#649)
This removes node 6 and 8 support. This is a free project and our builds are getting very long so we have to be a bit careful about what versions we test on. To be clear, this still works on Node 6 and 8 for now but we won't be maintaining that guarantee into the future so please work towards updating. This also removes eslint, likely in favor of prettier at some future date. BREAKING CHANGE: Removal of two major node versions, 6 and 8 from testing scheme
1 parent ad6f14c commit 8931c6b

13 files changed

+16
-980
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ before_install:
1313
before_script:
1414
- git version
1515
script:
16-
- npm run lint
1716
- npm run test
1817
- npm run check-coverage
1918
after_success:

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ When you commit with Commitizen, you'll be prompted to fill out any required com
77

88
## Installing the command line tool
99

10+
Commitizen is currently tested against
11+
node 10 and 12 although it may work in
12+
older node. You should also have npm 6
13+
or greater.
14+
1015
Installation is as simple as running the following command (if you see `EACCES` error, reading [fixing npm permissions](https://docs.npmjs.com/getting-started/fixing-npm-permissions) may help):
1116

1217
```

jobs/build.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
strategy:
1212
maxParallel: 3
1313
matrix:
14+
node-12:
15+
node_version: ^12.6.0
1416
node-10:
1517
node_version: ^10.10.0
16-
node-8:
17-
node_version: ^8.12.0
18-
node-6:
19-
node_version: ^6.14.4
2018
steps:
2119
- task: NodeTool@0
2220
displayName: " Install Node.js"

0 commit comments

Comments
 (0)