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 3232 run: npm ci
3333 - name: CI Self-Check
3434 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
3555 check-mongo:
3656 strategy:
3757 matrix:
@@ -106,8 +126,6 @@ jobs:
106126 ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
107127 - name: Install dependencies
108128 run: npm ci
109- - if: ${{ matrix.name == 'Mongo 3.6.21' }}
110- run: npm run lint
111129 - run: npm run pretest
112130 - run: npm run coverage
113131 env:
You can’t perform that action at this time.
0 commit comments