Skip to content

Check if compatible with Mongoose #12

Check if compatible with Mongoose

Check if compatible with Mongoose #12

Workflow file for this run

name: Lint code and run tests
on: push
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:5
env:
"MONGO_INITDB_ROOT_USERNAME": "root"
"MONGO_INITDB_ROOT_PASSWORD": "password"
ports:
- 27017:27017
timeout-minutes: 5
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: make install
- run: make lint
- run: make test