Files
remote-rig/.gitea/workflows/ci.yaml
T
Joshua King 4ba11cc945
Build (Dev) / build (push) Successful in 11s
CI / quality (push) Successful in 11s
CI / quality (pull_request) Successful in 11s
ci: consolidate frontend gates into one job
The 3-job ci.yaml re-cloned actions/checkout from github.com per job, and
those clones intermittently fail with connection resets (build job died
there even though lint/typecheck/test passed). Collapse to a single job:
one checkout, then lint -> typecheck -> test -> build. Fewer github.com
clones, faster, less flaky.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 10:24:33 -04:00

24 lines
573 B
YAML

name: CI
# Frontend quality gates (lint, typecheck, test, build-check).
# One job on purpose: the runner fetches each action from github.com,
# which is flaky (connection resets), so we check out once instead of
# re-cloning per job. The real hub build + deploy is build-dev.yaml.
on:
push:
branches: [dev, main]
pull_request:
branches: [dev, main]
jobs:
quality:
runs-on: go-react
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint
- run: npx tsc --noEmit
- run: npm test
- run: npm run build