Update unit-tests.yml
Enhance  UT
MODIFY
.github/workflows/unit-tests.yml
.github/workflows/unit-tests.yml
@@ -21,7 +21,7 @@ jobs:
with:
ssh-key: ${{ secrets.ACTION_ACCESS_SUB_MODULES_PRIVATE_REPOS }}
submodules: true
- - name: Start MongoDB
+ - name: Start MongoDB ${{ matrix.mongodb-version }}
uses: supercharge/mongodb-github-action@1.3.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
@@ -30,10 +30,11 @@ jobs:
run: |
mongo docker/initdb/000_createMongoUsers.js
mongo docker/initdb/002_createSuperAdmin.js
- - name: Install NodeJs
+ - name: Install NodeJs ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
+ cache: npm
- name: Install NodeJs Packages
run: npm ci
- name: Build production sources

Update unit-tests.yml

Enhance  UT