ci: reorganize project scripts and E2E workflows by type

This commit is contained in:
neon
2026-04-12 17:12:36 -06:00
parent 67ec10f703
commit 19f81faf4d
14 changed files with 21 additions and 17 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT_DIR"
if [[ ! -f server/.env ]]; then
cp server/.env.example server/.env
echo "Created server/.env from server/.env.example"
fi
echo "Installing dependencies..."
pnpm install
echo "Starting PostgreSQL..."
docker compose -f docker-compose.dev.yml up -d --wait
echo "Applying migrations..."
pnpm run db:migrate
echo "Seeding baseline data..."
pnpm run db:seed