Skip to content

[Snyk] Security upgrade mongodb from 5.2.0 to 6.0.0 #200

[Snyk] Security upgrade mongodb from 5.2.0 to 6.0.0

[Snyk] Security upgrade mongodb from 5.2.0 to 6.0.0 #200

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Node ${{ matrix.node }}, Mongo ${{ matrix.mongodb-version }}, Agenda ${{ matrix.agenda-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']
mongodb-version: [ 3.6, 4.0, 4.2, 4.4, 5.0 ]
agenda-version: [ 3.1, 4.0 ]
steps:
- uses: actions/checkout@v2
- name: Setup Node.js v${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- run: npm install
- name: Install agenda
run: npm i agenda@${{ matrix.agenda-version }}
- run: npm test
env:
CI: true