Files
api-ubigeo/.github/workflows/ci.yml
Gianpierre Mio c48dc3cd0b
Some checks failed
CI - Build and Lint / build (push) Failing after 3s
Deploy API-Ubigeo / deploy (push) Failing after 1s
feat: add Redis cache, gzip, CI/CD via Gitea self-hosted runner
2026-03-09 23:43:25 -05:00

32 lines
594 B
YAML

name: CI - Build and Lint
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Generate Prisma client
run: npx prisma generate
- name: Lint
run: npm run lint --if-present || true
- name: Build
run: npm run build
- name: Verify build output
run: |
[ -d dist ] && echo "✅ Build OK" || (echo "❌ dist not found" && exit 1)