File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1313 CI : true
1414
1515jobs :
16+ lint :
17+ name : Lint on Node.js ${{ matrix.node }} and ${{ matrix.os }}
18+
19+ runs-on : ${{ matrix.os }}
20+
21+ strategy :
22+ matrix :
23+ node : [12]
24+ os : [ubuntu-latest]
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+
29+ - name : Use Node.js ${{ matrix.node }}
30+ uses : actions/setup-node@v1
31+ with :
32+ node-version : ${{ matrix.node }}
33+
34+ - name : Install latest npm
35+ run : npm install --global npm@latest
36+
37+ - name : Install dependencies
38+ run : npm ci
39+
40+ - name : Lint
41+ run : npm run lint
42+
1643 test :
1744 name : Test on Node.js ${{ matrix.node }}
1845
Original file line number Diff line number Diff line change 4040 "lint:formatting" : " prettier . --check" ,
4141 "lint:js" : " eslint ." ,
4242 "lint" : " npm-run-all --parallel lint:*" ,
43- "pretest" : " npm run lint" ,
4443 "mocha" : " mocha --no-timeouts" ,
4544 "test" : " nyc npm run mocha" ,
4645 "watch" : " mocha --watch" ,
You can’t perform that action at this time.
0 commit comments