Skip to content

Commit

Permalink
chore: add mongodb node driver versions to CI test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jan 25, 2024
1 parent 3bcae9a commit fc72833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
matrix:
node: [16, 18, 20]
os: [ubuntu-20.04]
mongodbNodeDriver: [5, 6]
include:
- os: ubuntu-20.04
mongo-os: ubuntu2004
mongo: 5.0.2
name: Node ${{ matrix.node }} MongoDB ${{ matrix.mongo }}
name: Node ${{ matrix.node }} MongoDB ${{ matrix.mongo }} Node Driver ${{ matrix.mongodbNodeDriver }}
steps:
- uses: actions/checkout@v2

Expand All @@ -24,6 +25,7 @@ jobs:
node-version: ${{ matrix.node }}

- run: npm install
- run: npm install mongodb@${{ matrix.mongodbNodeDriver }}

- name: Setup
run: |
Expand Down

0 comments on commit fc72833

Please sign in to comment.