Skip to content

Setup test harness for JSON Schemas #39

Setup test harness for JSON Schemas

Setup test harness for JSON Schemas #39

Workflow file for this run

name: Continuous integration checks
on:
- pull_request
jobs:
run-schema-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
cache-dependency-path: ./tests/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./tests
- name: Run schema tests
run: yarn test
working-directory: ./tests
build-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
cache-dependency-path: ./web/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./web
- name: Build website
run: yarn build
working-directory: ./web