From ebb8e1991f9e394dcf153be6e2342f60d06af760 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Wed, 24 Jun 2026 18:42:34 -0400 Subject: [PATCH] ci(agent-team): add web frontend CI via org reusable workflow Adds .github/workflows/ci-web.yaml, a thin caller over the org Sea-Haven-Industries/.github ci-typescript-frontend.yaml reusable workflow, scoped to agent-team/web changes. Runs build (tsc -b + vite build = typecheck) and vitest on PRs to main. Distinct job id ci-web (status 'ci-web / ci') so it does not collide with the Python 'ci / ci' context. format:check/lint/test:e2e steps toggled off until Prettier/ESLint/Playwright are wired. Verified locally: npm ci + npm run build + npm test (36/36) all green. --- .github/workflows/ci-web.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci-web.yaml 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