Skip to content

Commit 93c4bc7

Browse files
committed
Build the full workspace in deploy-docs so the site resolves @metta-ts/libraries
The docs site bundles @metta-ts/hyperon, which now side-effect imports @metta-ts/libraries (auto-registered in 1.3.0). deploy-docs built only core/hyperon/grapher, so libraries had no dist and vitepress failed to resolve its entry. Build the whole workspace, as CI already does.
1 parent 4be3c18 commit 93c4bc7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
node-version: 22
2828
cache: pnpm
2929
- run: pnpm install --frozen-lockfile
30-
- run: pnpm --filter @metta-ts/core build
31-
- run: pnpm --filter @metta-ts/hyperon build
32-
- run: pnpm --filter @metta-ts/grapher build
30+
# Build the whole workspace: the docs site bundles @metta-ts/hyperon, which now side-effect imports
31+
# @metta-ts/libraries (auto-registered), so a hand-picked subset misses transitive deps. Match CI.
32+
- run: pnpm -r build
3333
- run: pnpm --filter @metta-ts/website docs:build
3434
- uses: actions/configure-pages@v5
3535
- uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)