#!/usr/bin/env bash
set -euo pipefail

project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"

cd "$project_root/backend"
uv sync --locked
uv run pytest
uv run ruff check .
uv run mypy src/zbt

cd "$project_root/frontend"
pnpm install --frozen-lockfile
pnpm typecheck
pnpm build
