scripts(scripts): 🔨 Update run script with new commands, environment variables, and optimized execution logic

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-08 21:29:50 -07:00
parent ba71f087b1
commit 23e21080e1

7
run
View file

@ -25,6 +25,7 @@ cmd_help() {
echo -e "${C}${B}Testing${R}"
echo -e " ${G}test${R} Unit tests ${D}pnpm -r test${R}"
echo -e " ${G}test:e2e${R} Playwright E2E tests ${D}playwright test${R}"
echo -e " ${G}e2e:docker${R} Docker E2E stack ${D}docker compose e2e${R}"
echo ""
echo -e "${C}${B}Docker${R}"
echo -e " ${G}docker${R} Start Postgres + Redis ${D}docker compose up -d${R}"
@ -107,6 +108,12 @@ case "${1:-help}" in
echo -e "${C}Running E2E tests...${R}"
cd "$ROOT/@tooling/e2e" && npx playwright test "$@"
;;
e2e:docker)
echo -e "${C}Running E2E tests in Docker...${R}"
cd "$ROOT" && docker compose \
-f "@tooling/e2e/docker-compose.e2e.yml" \
up --build --abort-on-container-exit --exit-code-from e2e-tests
;;
# Docker (local containers)
docker)