Skip to content

Commit c52771a

Browse files
serpentbladeclaude
andcommitted
ci(docs): pre-build @rozie/runtime-engine-helpers before docs build
The docs workflow builds each runtime package explicitly (not via turbo) because docs's @rozie/unplugin compilation pulls .rozie examples whose emit imports from @rozie/runtime-{vue,engine-helpers,…}. With the new @rozie/runtime-engine-helpers package landed in quick-260526-q7s (which SortableList.rozie now imports via useSortableJS), the docs build started failing at Rollup entry resolution because dist/ doesn't exist on a fresh CI checkout. Adds the build step alongside the existing runtime-vue one + adds the package's source path to the workflow path filter so future changes trigger redeploys. The matrix workflows (vue/solid/lit/etc.) use `pnpm turbo run build` which auto-picks the new package via the workspace graph, so they need no change. Adoption Smokes already passed on the prior push. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 6beca27 commit c52771a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- 'packages/targets/**'
1717
- 'packages/unplugin/**'
1818
- 'packages/runtime/vue/**'
19+
- 'packages/runtime/engine-helpers/**'
1920
- 'examples/*.rozie'
2021
- '.github/workflows/docs.yml'
2122
workflow_dispatch:
@@ -63,6 +64,15 @@ jobs:
6364
- name: Build @rozie/runtime-vue
6465
run: pnpm --filter @rozie/runtime-vue run build
6566

67+
# @rozie/runtime-engine-helpers (added 2026-05-27, quick task 260526-q7s)
68+
# is referenced by examples/SortableList.rozie via
69+
# `import { useSortableJS } from '@rozie/runtime-engine-helpers'`.
70+
# When the docs site's @rozie/unplugin compilation pulls any .rozie
71+
# example that has SortableList in its dep graph, Vite resolves the
72+
# import against this package's dist/.
73+
- name: Build @rozie/runtime-engine-helpers
74+
run: pnpm --filter @rozie/runtime-engine-helpers run build
75+
6676
- name: Build docs
6777
run: pnpm --filter @rozie/docs build
6878

0 commit comments

Comments
 (0)