Skip to content

ci: build docs on PRs to gate deploy-time regressions#7

Merged
cewert merged 1 commit into
mainfrom
ci/build-gate-on-pr
May 29, 2026
Merged

ci: build docs on PRs to gate deploy-time regressions#7
cewert merged 1 commit into
mainfrom
ci/build-gate-on-pr

Conversation

@cewert
Copy link
Copy Markdown
Member

@cewert cewert commented May 29, 2026

Problem

The required check job runs astro check + eslint + prettier but never builds the site. The build only runs in deploy.yml on push to mainafter merge. So a dependency bump that breaks astro build (the exact failure class that hit jellyrock.app#22's Astro minor) passes docs CI and only blows up post-merge on the VPS deploy.

Change

Run npm run build (user-docs + dev-docs) in the same check job, after the existing checks. The required-check context stays check, so no branch-protection config change is needed.

Verified locally against current main: both workspaces build (17 pages). This makes "green CI" mean the site actually builds, which is the precondition for trusting dependency auto-merge in this repo (see ADR-0004 in command-center).

The check job ran astro check + eslint + prettier but never built. A
dependency bump that breaks `astro build` (e.g. a Starlight/Astro
minor) passed CI and only failed in deploy.yml on push to main, after
merge. Build both workspaces in the same check job so green CI means
the site actually builds before merge.
@cewert cewert merged commit 1f9f2a8 into main May 29, 2026
1 check passed
@cewert cewert deleted the ci/build-gate-on-pr branch May 29, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant