diff --git a/.github/workflows/ci-web.yaml b/.github/workflows/ci-web.yaml new file mode 100644 index 0000000..1be4197 --- /dev/null +++ b/.github/workflows/ci-web.yaml @@ -0,0 +1,33 @@ +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. +# +# Our package.json currently exposes build + test (+ typecheck); `build` runs +# `tsc -b && vite build`, so the type-check happens inside build. Prettier +# (format:check), ESLint (lint), and Playwright (test:e2e) are not wired yet, so +# those reusable steps are toggled off until those tools are added. + +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: "build,test" + run-format-check: false + run-lint: false + run-e2e: false