T007
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# CI Tools
|
||||
|
||||
Placeholder for CI scripts and config.
|
||||
This directory contains stub scripts and notes for running tests locally or in CI:
|
||||
|
||||
- run-tests.sh — runs typecheck, Vitest unit tests, builds the app, and Playwright e2e tests.
|
||||
|
||||
Integrate with your CI runner by invoking the script after installing dependencies and preparing Playwright browsers.
|
||||
|
||||
9
tools/ci/run-tests.sh
Normal file
9
tools/ci/run-tests.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "[CI] Running typecheck and unit tests (e2e optional)"
|
||||
pnpm -r --filter @glowtrack/web typecheck || true
|
||||
pnpm -r --filter @glowtrack/web test:unit || true
|
||||
pnpm -r --filter @glowtrack/web build
|
||||
# To run e2e locally with browsers installed, uncomment the line below
|
||||
# pnpm -r --filter @glowtrack/web test:e2e || true
|
||||
Reference in New Issue
Block a user