Skip to content

Commit c787972

Browse files
authored
Merge a31beb6 into 4a75d97
2 parents 4a75d97 + a31beb6 commit c787972

File tree

5 files changed

+1999
-540
lines changed

5 files changed

+1999
-540
lines changed

.github/workflows/ci.yml

+20-22
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,30 @@ on:
55
- master
66
pull_request:
77
branches:
8-
- '**'
8+
- "**"
99
jobs:
1010
build:
1111
runs-on: ubuntu-18.04
1212
timeout-minutes: 30
13-
env:
13+
env:
1414
MONGODB_VERSION: 3.6.9
1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Use Node.js
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: '10.14'
21-
- name: Cache Node.js modules
22-
uses: actions/cache@v2
23-
with:
24-
path: ~/.npm
25-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26-
restore-keys: |
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: "10.14"
21+
- name: Cache Node.js modules
22+
uses: actions/cache@v2
23+
with:
24+
path: ~/.npm
25+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26+
restore-keys: |
2727
${{ runner.os }}-node-
28-
- run: npm ci
29-
- run: npm install -g mongodb-runner
30-
- run: mongodb-runner start
31-
- run: npm run lint
32-
- run: npm test -- --maxWorkers=4
33-
- run: npm run integration
34-
env:
35-
CI: true
36-
- run: bash <(curl -s https://codecov.io/bash)
28+
- run: npm ci
29+
- run: npm run lint
30+
- run: npm test -- --maxWorkers=4
31+
- run: npm run integration
32+
env:
33+
CI: true
34+
- run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)