Skip to content

docs: add a short high-level documentation of how the application works #31

docs: add a short high-level documentation of how the application works

docs: add a short high-level documentation of how the application works #31

Workflow file for this run

name: Backend Tests
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: self-hosted
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v6
with:
package_json_file: backend/package.json
cache: true
cache_dependency_path: backend/pnpm-lock.yaml
- uses: actions/setup-node@v5
with:
node-version: 24
- name: Install dependencies
run: pnpm install --frozen-lockfile
# The API tests start their own Postgres server with initdb and pg_ctl,
# which apt installs outside of PATH (see docs/deployment.md)
- name: Add PostgreSQL to PATH
run: echo "/usr/lib/postgresql/18/bin" >> "$GITHUB_PATH"
- name: Run tests
run: pnpm test