Skip to content

Commit

Permalink
modify CI to run tests against mongoose 7 and 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezystem committed Aug 28, 2024
1 parent 147d485 commit 47a7fab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@ jobs:

- name: Execute integration tests
run: npm run test:integration

- name: Execute tests against Mongoose 7
run: lerna add mongoose@7 --dev --scope moleculer-db-adapter-mongoose && jest --testMatch "**/moleculer-db-adapter-mongoose/**/*.spec.js"
if: ${{ matrix.node-version != '10.x' && matrix.node-version != '12.x' }}

- name: Execute tests against Mongoose 8
run: lerna add mongoose@8 --dev --scope moleculer-db-adapter-mongoose && jest --testMatch "**/moleculer-db-adapter-mongoose/**/*.spec.js"
if: ${{ matrix.node-version != '10.x' && matrix.node-version != '12.x' }}

0 comments on commit 47a7fab

Please sign in to comment.