Files
CU_Points/.github/workflows/frontend-ci.yml
T
emilandClaude Sonnet 4.6 50b3c4198a feat: initial commit — backend API + student cabinet frontend
- Go backend: auth (JWT), points earn/spend, QR token generation,
  partners, admin grant/stats endpoints with chi router
- Next.js 14 frontend: login, student dashboard, transaction history,
  QR display, partners list
- PostgreSQL migrations (4 tables), Redis cache, Docker Compose
- CORS middleware, role-based route protection, Zustand auth store

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 10:03:27 +03:00

40 lines
809 B
YAML

name: Frontend CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
lint-typecheck-build:
name: Lint, Type-check & Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
working-directory: frontend
run: npm ci
- name: Type check
working-directory: frontend
run: npx tsc --noEmit
- name: ESLint
working-directory: frontend
run: npx eslint .
- name: Build
working-directory: frontend
env:
NEXT_PUBLIC_API_URL: http://localhost:8080
run: npm run build