Skip to content

Commit c8709bd

Browse files
committed
Update ci.yml
1 parent a52c4c6 commit c8709bd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,26 @@ jobs:
1919
build:
2020
runs-on: ubuntu-18.04
2121
timeout-minutes: 30
22-
env:
22+
env:
2323
MONGODB_VERSION: 3.6.9
24+
strategy:
25+
matrix:
26+
include:
27+
- name: Node 14
28+
NODE_VERSION: 14.19.1
29+
- name: Node 16
30+
NODE_VERSION: 16.14.2
31+
- name: Node 18
32+
NODE_VERSION: 18.8.0
33+
fail-fast: false
2434
steps:
2535
- name: Fix usage of insecure GitHub protocol
2636
run: sudo git config --system url."https://github".insteadOf "git://github"
2737
- uses: actions/checkout@v2
2838
- name: Use Node.js
2939
uses: actions/setup-node@v1
3040
with:
31-
node-version: 14
41+
node-version: ${{ matrix.node-version }}
3242
- name: Cache Node.js modules
3343
uses: actions/cache@v2
3444
with:

0 commit comments

Comments
 (0)