File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 32
32
run : npm ci
33
33
- name : CI Self-Check
34
34
run : npm run ci:check
35
+ check-lint :
36
+ name : Lint
37
+ timeout-minutes : 30
38
+ runs-on : ubuntu-18.04
39
+ steps :
40
+ - uses : actions/checkout@v2
41
+ - name : Use Node.js ${{ matrix.NODE_VERSION }}
42
+ uses : actions/setup-node@v1
43
+ with :
44
+ node-version : ${{ matrix.node-version }}
45
+ - name : Cache Node.js modules
46
+ uses : actions/cache@v2
47
+ with :
48
+ path : ~/.npm
49
+ key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
50
+ restore-keys : |
51
+ ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
52
+ - name : Install dependencies
53
+ run : npm ci
54
+ - run : npm run lint
35
55
check-mongo :
36
56
strategy :
37
57
matrix :
@@ -106,8 +126,6 @@ jobs:
106
126
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
107
127
- name : Install dependencies
108
128
run : npm ci
109
- - if : ${{ matrix.name == 'Mongo 3.6.21' }}
110
- run : npm run lint
111
129
- run : npm run pretest
112
130
- run : npm run coverage
113
131
env :
You can’t perform that action at this time.
0 commit comments