Skip to content

fix: add docs build to release CI workflow#91

Merged
orionmiz merged 1 commit intomainfrom
edward_karrot/ci-build-docs
Apr 10, 2026
Merged

fix: add docs build to release CI workflow#91
orionmiz merged 1 commit intomainfrom
edward_karrot/ci-build-docs

Conversation

@orionmiz
Copy link
Copy Markdown
Collaborator

Summary

  • Published ventyd@1.20.2 is missing dist/docs/*.md (74 files vs expected 87)
  • Root cause: CI release workflow runs yarn build (tsdown) then yarn release (changeset publish → npm publish → prepack)
  • prepack runs generate-docs.ts but docs/build/client/llms/ doesn't exist in CI — script skips gracefully
  • Fix: add yarn build:docs step between yarn build and publish to build docs site + generate embedded markdown

Test plan

  • CI release workflow succeeds
  • Published package contains dist/docs/*.md (87 total files)

🤖 Generated with Claude Code

CI release was publishing without dist/docs/ because the docs site
was never built before npm publish. The prepack script skips gracefully
when docs/build/client/llms/ is missing, so dist/docs/ was empty.

Add `yarn build:docs` step between build and publish to ensure
embedded docs are generated before packaging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

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

Project Deployment Actions Updated (UTC)
ventyd Building Building Preview, Comment Apr 10, 2026 10:28am

@orionmiz orionmiz merged commit 307d62b into main Apr 10, 2026
2 of 3 checks passed
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