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 13
13
CI : true
14
14
15
15
jobs :
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
+
16
43
test :
17
44
name : Test on Node.js ${{ matrix.node }}
18
45
Original file line number Diff line number Diff line change 40
40
"lint:formatting" : " prettier . --check" ,
41
41
"lint:js" : " eslint ." ,
42
42
"lint" : " npm-run-all --parallel lint:*" ,
43
- "pretest" : " npm run lint" ,
44
43
"mocha" : " mocha --no-timeouts" ,
45
44
"test" : " nyc npm run mocha" ,
46
45
"watch" : " mocha --watch" ,
You can’t perform that action at this time.
0 commit comments