mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-11-26 23:29:34 +00:00
ui: install the demo harness before the app's type check in CI (#33145)
The app's demo helpers import @ggml-org/llama-demo, a link to ui/lib/demo, and svelte-check resolves the harness sources' imports (@playwright/test among them) from ui/lib/demo/node_modules. The Checks job installed only the app, so its type check failed on the harness since it moved there. Assisted-by: Claude (Opus 5.5 Medium)
This commit is contained in:
parent
5d7bb89f47
commit
e630f78729
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ui.yml
vendored
10
.github/workflows/ui.yml
vendored
|
|
@ -83,8 +83,16 @@ jobs:
|
|||
run: npm ci
|
||||
working-directory: ui/apps/chat
|
||||
|
||||
# the app's demo helpers import the demo harness (ui/lib/demo), whose sources resolve
|
||||
# @playwright/test and its other types from its own node_modules
|
||||
- name: Install demo harness dependencies
|
||||
id: setup-demo
|
||||
if: ${{ steps.setup.conclusion == 'success' }}
|
||||
run: npm ci
|
||||
working-directory: ui/lib/demo
|
||||
|
||||
- name: Run type checking
|
||||
if: ${{ always() && steps.setup.conclusion == 'success' }}
|
||||
if: ${{ always() && steps.setup.conclusion == 'success' && steps.setup-demo.conclusion == 'success' }}
|
||||
run: npm run check
|
||||
working-directory: ui/apps/chat
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue