File tree 5 files changed +1999
-540
lines changed
5 files changed +1999
-540
lines changed Original file line number Diff line number Diff line change 5
5
- master
6
6
pull_request :
7
7
branches :
8
- - ' ** '
8
+ - " ** "
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-18.04
12
12
timeout-minutes : 30
13
- env :
13
+ env :
14
14
MONGODB_VERSION : 3.6.9
15
15
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 : |
27
27
${{ 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)
You can’t perform that action at this time.
0 commit comments