Skip to content

Merge pull request #214 from orgads/eol-lf #3

Merge pull request #214 from orgads/eol-lf

Merge pull request #214 from orgads/eol-lf #3

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
options: >-
--health-cmd "mongo --eval 'db.runCommand({ ping: 1 })'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
node-version: [ 'lts/*' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test