1
0
Files
kobopatch-webui/test.sh
Nico Verbruggen f97e0be4c3
All checks were successful
Build and test project / build-and-test (push) Successful in 1m30s
Do not push transient steps
2026-03-19 21:03:37 +01:00

25 lines
505 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
echo "=== Installing web dependencies ==="
cd "$SCRIPT_DIR/web" && npm install
echo ""
echo "=== Building web app ==="
cd "$SCRIPT_DIR/web" && node build.mjs
echo ""
echo "=== Building WASM ==="
"$SCRIPT_DIR/kobopatch-wasm/build.sh"
echo ""
echo "=== Running WASM integration test ==="
"$SCRIPT_DIR/kobopatch-wasm/test-integration.sh"
echo ""
echo "=== Running E2E tests (Playwright) ==="
cd "$SCRIPT_DIR/tests/e2e"
npm test