Skip to content

fix(frontend): timeout en el proxy — 504/502 claros en vez de colgar hasta maxDuration #60

fix(frontend): timeout en el proxy — 504/502 claros en vez de colgar hasta maxDuration

fix(frontend): timeout en el proxy — 504/502 claros en vez de colgar hasta maxDuration #60

Workflow file for this run

name: Frontend CI
on:
pull_request:
paths:
- "frontend/**"
- ".github/workflows/frontend-ci.yml"
push:
branches:
- main
- master
paths:
- "frontend/**"
- ".github/workflows/frontend-ci.yml"
concurrency:
group: frontend-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Lint, Test, Build
runs-on: ubuntu-latest
timeout-minutes: 20
defaults:
run:
working-directory: frontend
env:
CI: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci --no-audit --no-fund
- name: Lint
timeout-minutes: 6
run: npm run lint:ci
- name: Test
timeout-minutes: 6
run: npm run test:ci
- name: Build
timeout-minutes: 10
run: npm run build