phase 1 5 docs site

Docs CI gates: docs-build on PRs, docs-deploy on main. Partial — lychee link check and Lighthouse a11y deferred.

Milestone D.4.2 — GitHub Actions docs checks

Status: Partial
Goal: D.4
Phase: 1.5 — Docs Site
Wave: 11
Estimated effort: 0.5 day
ADR required: None

Spec detail: MASTER_BRIEF.md Part D (D.4.2).


Shipped (2026-06-22)

DeliverableLocationNotes
docs-build CI job.github/workflows/ci.ymltypecheck, Vitest, build:clean
Path filter (detect-changes)sameSkips docs-build on Go-only PRs
pnpm + Next.js cache.github/actions/setup-pnpm-docsShared composite action
Production deploy.github/workflows/docs-deploy.ymlOpenNext build + Cloudflare deploy + smoke test

Deferred

DeliverableNotes
.github/workflows/docs-checks.ymlSeparate workflow not added; logic lives in ci.yml + docs-deploy.yml
lychee on built HTMLFollow-up PR
Lighthouse CI (a11y = 100)Follow-up PR; target production or workflow_dispatch URL

Why This Milestone Exists

Without CI gates, broken internal links and accessibility regressions reach preview and production silently. Go CI already blocks bad merges — docs need equivalent checks.


Acceptance Criteria

  • Docs typecheck, test, and build run on docs path changes
  • Go-only PRs skip docs-build via path filter
  • Production deploy gated by docs-deploy workflow
  • PR with intentionally broken link is blocked by lychee (deferred)
  • PR with a11y regression is blocked by Lighthouse (deferred)
Edit on GitHub

Last updated on

On this page

0%