Skip to content

ci: add docs build verification workflow#346

Merged
dcramer merged 1 commit into
mainfrom
cursor/add-docs-ci-workflow-87ce
May 21, 2026
Merged

ci: add docs build verification workflow#346
dcramer merged 1 commit into
mainfrom
cursor/add-docs-ci-workflow-87ce

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented May 21, 2026

Adds a standalone docs.yml workflow so a broken dex-docs Astro build can't slip into main unnoticed.

What

New .github/workflows/docs.yml that mirrors the setup conventions of ci.yml:

  • Triggers on push to main/release/* and PRs to main
  • Same toolchain: pnpm, Node 24, frozen lockfile, pnpm cache
  • Runs pnpm build first (docs depend on @sentry/warden via workspace:*)
  • Then pnpm --filter dex-docs build to compile the Astro site
  • Only requests contents: read

Why

packages/docs was never verified in CI. lint-staged builds it locally on .astro changes, but nothing caught regressions server-side. Splitting it into its own workflow keeps it fully parallel with the main CI job rather than adding sequential time to the existing build.

Verified locally:

pnpm install --frozen-lockfile
pnpm build
pnpm --filter dex-docs build
# → 32 page(s) built in 4.74s

Closes #344.

Slack Thread

Open in Web Open in Cursor 

Add a separate docs.yml workflow that runs in parallel with the main CI
job to verify the dex-docs Astro site compiles. The docs depend on
@sentry/warden via workspace:*, so build the core package first.

Closes #344

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@dcramer dcramer marked this pull request as ready for review May 21, 2026 21:13
@dcramer dcramer merged commit a548c3b into main May 21, 2026
20 checks passed
@dcramer dcramer deleted the cursor/add-docs-ci-workflow-87ce branch May 21, 2026 21:16
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.

ci: add docs build verification workflow

2 participants