Skip to content

Commit 256c69d

Browse files
committed
chore(cicd): add MongoDB for the unit-tests + update Node to 16.x
1 parent 736e7aa commit 256c69d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/nodejs.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node: ['12']
13+
node: ['16']
14+
mongodb: ['5.0']
1415

1516
steps:
1617
- name: Checkout
@@ -25,6 +26,12 @@ jobs:
2526
- name: Install dependencies
2627
run: npm install
2728

29+
- name: Start MongoDB
30+
uses: supercharge/mongodb-github-action@1.7.0
31+
with:
32+
mongodb-version: ${{ matrix.mongodb }}
33+
mongodb-db: encryptionAPI
34+
2835
- name: Run Unit-Tests + Code Coverage
2936
run: npm run test:coverage
3037

0 commit comments

Comments
 (0)