mirror of
https://github.com/cline/cline.git
synced 2026-08-30 17:20:20 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user