fix(ci): build shared package before the ui-publish desktop chat test

The desktop chat integration test renders components from @cline/ui, but
it also pulls @cline/shared/browser through the desktop app's own
message-content module. That subpath resolves to dist output no step in
this job produced, so the suite failed to collect.

Build @cline/shared before the test, and install the full workspace: the
two-package filter did not provide enough of the tree for that build.
This commit is contained in:
Saoud Rizwan
2026-07-30 12:02:37 -07:00
parent afc1229ab0
commit 078abcd055
+6 -1
View File
@@ -44,7 +44,7 @@ jobs:
node-version: "24.x"
- name: Install dependencies
run: bun install --filter @cline/ui --filter @cline/code --frozen-lockfile
run: bun install --frozen-lockfile
- name: Typecheck UI
run: bun -F @cline/ui typecheck
@@ -58,6 +58,11 @@ jobs:
- name: Build UI package
run: bun -F @cline/ui build
# The desktop chat test imports @cline/shared/browser, which resolves to
# dist output that nothing else in this job builds.
- name: Build shared package
run: bun -F @cline/shared build
- name: Test desktop chat integration
run: bun -F @cline/code test:chat-ui