Skip to content

Agent-first repo: strict TypeScript, god-file splits, 10 test layers, CI pipeline #2

Agent-first repo: strict TypeScript, god-file splits, 10 test layers, CI pipeline

Agent-first repo: strict TypeScript, god-file splits, 10 test layers, CI pipeline #2

Workflow file for this run

name: Verify
# Fast, no-secret PR gate: typecheck + full test suite.
# Runs on every PR and every push to main. No env vars needed because
# neither `tsc --noEmit` nor the default vitest suite touch t3-oss env
# validation (only `next build` does).
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: verify-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run typecheck
test:
name: Test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run test:run