Skip to content

Make onCreateAjv() callback optional #522

Make onCreateAjv() callback optional

Make onCreateAjv() callback optional #522

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 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 }}
- name: Install dependencies
run: npm ci
- name: Run docker compose
run: docker-compose up -d
- name: Setup test db
run: node setup-test-db.js
- name: Run tests
run: npm test