17 lines
418 B
Bash
Executable File
17 lines
418 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo ">>> Running backend lint locally"
|
|
(cd backend && npm run lint)
|
|
|
|
echo ">>> Running frontend lint locally"
|
|
(cd frontend && npm run lint)
|
|
|
|
echo ">>> Running backend test suite"
|
|
(cd backend && npm test -- --runInBand --coverage)
|
|
|
|
echo ">>> Running frontend test suite"
|
|
(cd frontend && npm test -- --watchAll=false --coverage)
|
|
|
|
echo "All CI test stages completed successfully."
|