test_ci.sh

 1#!/usr/bin/env bash
 2set -euo pipefail
 3
 4cd "$(dirname "$0")"
 5
 6echo "==> Running Shelley CI Tests"
 7echo ""
 8
 9echo "==> Installing UI dependencies..."
10cd ui
11pnpm install --frozen-lockfile
12cd ..
13
14echo ""
15echo "==> Running TypeScript type check..."
16cd ui
17pnpm run type-check
18cd ..
19
20echo ""
21echo "==> Running ESLint..."
22cd ui
23pnpm run lint
24cd ..
25
26echo ""
27echo "==> Building UI..."
28cd ui
29pnpm run build
30cd ..
31
32echo ""
33echo "==> Running Go tests..."
34go test -v ./...
35
36echo ""
37echo "==> Running Playwright E2E tests..."
38cd ui
39npx playwright install --with-deps chromium
40npx playwright test
41cd ..
42
43echo ""
44echo "==> All Shelley tests passed! ✓"