Skip to content

Remove support for old Node.js versions (#39) #37

Remove support for old Node.js versions (#39)

Remove support for old Node.js versions (#39) #37

Workflow file for this run

name: Run tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x]
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.3.0
- name: Install dependencies
run: npm install
- name: Standard check
run: npm run standard-check
- name: Run the application
run: node app.js
- name: Run tests
run: npm test
env:
CI: true