name: CI Web # Thin caller over the org reusable front-end CI for the agent-team dashboard SPA # (agent-team/web — Vite + React + TypeScript + vitest). Distinct job id `ci-web` # (→ status context `ci-web / ci`) so it does NOT collide with the Python # `ci / ci` context emitted by ci.yaml. # # package.json exposes the full reusable-workflow script set: format:check # (Prettier), lint (ESLint flat config), build (`tsc -b && vite build`), test # (vitest), and test:e2e (Playwright chromium browser smoke against a mocked # /api). All reusable steps are enabled (#65). The reusable workflow installs the # Playwright browser itself (`npx playwright install --with-deps chromium`). on: pull_request: branches: [main] paths: - "agent-team/web/**" - ".github/workflows/ci-web.yaml" permissions: contents: read jobs: ci-web: uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@main with: node-version: "24" working-directory: agent-team/web cache-dependency-path: agent-team/web/package-lock.json required-scripts: "format:check,lint,build,test,test:e2e" run-format-check: true run-lint: true run-e2e: true e2e-browser: "chromium"