Skip to content

Merge branch 'master' into snyk-fix-117c88d087ad46e88970c418610cb0dc #50

Merge branch 'master' into snyk-fix-117c88d087ad46e88970c418610cb0dc

Merge branch 'master' into snyk-fix-117c88d087ad46e88970c418610cb0dc #50

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/[email protected]
- 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