Skip to content

Run tests

Run tests #20

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint & Formatting
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm ci
- run: npx eslint
- run: npx prettier --check src
test:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker compose -f ./ci/docker/integration-compose.yml build
- run: docker compose -f ./ci/docker/integration-compose.yml run client