Skip to content

Add automated tests #17

Add automated tests

Add automated tests #17

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: |
npm ci
- name: Run lint
run: |
npm run lint
- name: Run build
run: |
npm run build
- name: Start environment
run: |
docker compose -f compose.test.yml up -d --wait
- name: Run test
run: |
npm run test