Skip to content

ci: add first checks and fix the bugs related - #1444

Merged
larbish merged 3 commits into
mainfrom
ci/tier-one
Oct 1, 2026
Merged

larbish merged 3 commits into
mainfrom
ci/tier-one

Conversation

@larbish

@larbish larbish commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

CI now builds Docus the way users deploy it and checks the output instead of only linting and typechecking the layer. Every check is blocking.

CI

  • Builds docs with the Vercel preset, node-server and nuxt generate, and fails on prerender errors (in CI only).
  • Checks the Vercel output: routes, function size and streaming, prerendered agent files, OG images.
  • Packs the layer, installs it into fresh default and i18n starters, then builds and typechecks them.
  • Runs smoke tests (pages, markdown, sitemap, MCP, OG image, assistant) locally and on every Vercel deployment.
  • Adds Vitest unit tests for the layer utils, OG helpers, locale files and the package's files list.

Fixes

  • The landing OG image was never generated on sites without i18n, because a description ending with . produced a ..png URL.
  • nuxt typecheck failed in apps extending Docus:
    • layer/package.json now has a types field.
    • Types that only exist with i18n are replaced with versions that work either way.
  • layer/shared is now published, so the PageMeta types ship.

🤖 Generated with Claude Code, reviewed by @larbish before opening.

@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docus Ready Ready Preview Oct 1, 2026 3:48pm UTC

@pkg-pr-new

pkg-pr-new Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1444
npm i https://pkg.pr.new/docus@1444

commit: 5502893

@larbish larbish changed the title ci: ensure build and add tests ci: add first checks and fix the bugs related Oct 1, 2026
@larbish
larbish merged commit 400b0a2 into main Oct 1, 2026
11 checks passed
@larbish
larbish deleted the ci/tier-one branch October 1, 2026 16:08

This branch was successfully deployed

1 active deployment
Preview — 5502893b Deployed Oct 1, 2026 by vercel[bot]
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