This directory contains GitHub Actions workflows for the UI project.
Runs on every pull request to main
or master
branches:
- ✅ Install dependencies -
npm ci
- 🔍 Lint code -
npm run lint
(continues on error) - 🔧 Type check -
npx tsc --noEmit
- 🧪 Run tests -
npm test -- --run
- 🏗️ Build project -
npm run build
Runs on pull requests and pushes to main
/master
branches:
- 🧪 Test Matrix - Node.js 18 & 20
- 📊 Coverage reporting - Uploads to Codecov (optional)
- 🔄 Full CI pipeline - All checks above
- ✅ Tests must pass
- ✅ TypeScript compilation must succeed
- ✅ Build must complete successfully
- 🔍 Linting (will show warnings but won't fail CI)
Run the same checks locally:
# Install dependencies
npm ci
# Run linting
npm run lint
# Type check
npx tsc --noEmit
# Run tests
npm test -- --run
# Build project
npm run build