Skip to content

Move services under build #6

Move services under build

Move services under build #6

Workflow file for this run

name: Lint code and run tests
on: push
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:5
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