Files
project-bootstrap/templates/.gitea/workflows/frontend-ci.yml
Bill 8dd4f0ca63 Initial commit: Complete project-bootstrap tool
- Bootstrap script for creating monorepo projects
- FastAPI backend templates with uv, ruff, mypy, pytest
- React frontend templates with TypeScript, ESLint, Prettier
- Docker Compose setup with backend, frontend, and database
- 9 development and CI scripts
- Gitea Actions CI/CD workflows
- Comprehensive documentation (8 files)
- 45 template files for complete project structure
- Automated verification script (all tests pass)
- Based on coding-agent-rules standards
2025-10-15 21:34:08 -04:00

39 lines
894 B
YAML

name: Frontend CI
on:
push:
branches: [main, master, develop]
paths:
- 'frontend/**'
- 'scripts/ci/frontend-test.sh'
- '.gitea/workflows/frontend-ci.yml'
pull_request:
branches: [main, master, develop]
paths:
- 'frontend/**'
- 'scripts/ci/frontend-test.sh'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Run frontend tests
run: bash scripts/ci/frontend-test.sh
- name: Upload coverage reports
uses: codecov/codecov-action@v3
with:
files: ./frontend/coverage/coverage-final.json
flags: frontend