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.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
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
|