File tree Expand file tree Collapse file tree 2 files changed +10
-16
lines changed
Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ language: node_js
22sudo : true
33dist : trusty
44node_js :
5- - 8
65 - 10
76 - 12
8- script : npm test
7+ - 14
8+ script :
9+ - npm run lint
10+ - npm test
911notifications :
1012 email :
1113 on_failure : change
Original file line number Diff line number Diff line change 1- # Test against this version of Node.js
21environment :
32 matrix :
4- # node.js
5- - nodejs_version : 8
6- - nodejs_version : 10
7- - nodejs_version : 12
3+ - nodejs_version : " 10"
4+ - nodejs_version : " 12"
5+ - nodejs_version : " 14"
86
97platform :
10- - x86
118 - x64
129
13- # Install scripts. (runs after repo cloning)
1410install :
1511 # Get the latest stable version of Node.js or io.js
1612 - ps : |
@@ -22,15 +18,11 @@ install:
2218 }
2319 # install modules
2420 - npm config set loglevel warn
25- - npm i
21+ - npm i -g npm
22+ - npm ci
2623
27- # Post-install test scripts.
2824test_script :
29- # Output useful info for debugging.
30- - node --version
31- - npm --version
32- # run tests
25+ - npm run lint
3326 - npm test
3427
35- # Don't actually build.
3628build : off
You can’t perform that action at this time.
0 commit comments