#!/usr/bin/env bash # Scope: validates backend unit tests and frontend production build for the README deployment refresh. set -euo pipefail ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" ( cd "$ROOT_DIR/backend" go test ./... ) ( cd "$ROOT_DIR/frontend" npm ci npm run build )