@@ -11,11 +11,11 @@ jobs:
1111 timeout-minutes : 5
1212 runs-on : ubuntu-18.04
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515 - name : Check NPM lock file version
1616 uses : mansona/npm-lockfile-version@v1
1717 with :
18- version : 1
18+ version : 2
1919 build :
2020 runs-on : ubuntu-latest
2121 timeout-minutes : 30
@@ -37,24 +37,22 @@ jobs:
3737 - name : Fix git protocol for Node 14
3838 if : ${{ startsWith(matrix.NODE_VERSION, '14.') }}
3939 run : sudo git config --system url."https://github".insteadOf "ssh://git@github"
40- - uses : actions/checkout@v2
40+ - uses : actions/checkout@v3
4141 - name : Use Node.js
42- uses : actions/setup-node@v1
42+ uses : actions/setup-node@v3
4343 with :
4444 node-version : ${{ matrix.NODE_VERSION }}
4545 - name : Cache Node.js modules
46- uses : actions/cache@v2
46+ uses : actions/cache@v3
4747 with :
4848 path : ~/.npm
49- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
49+ key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
5050 restore-keys : |
51- ${{ runner.os }}-node-
51+ ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
5252 - run : npm ci
53- - run : npm install -g mongodb-runner
54- - run : mongodb-runner start
5553 - run : npm run lint
5654 - run : npm test -- --maxWorkers=4
57- - run : npm run integration
55+ - run : npm run test:mongodb
5856 env :
5957 CI : true
6058 - run : bash <(curl -s https://codecov.io/bash)
0 commit comments