Commit e630f7872 for llama.cpp
commit e630f787298a607ca6cd20397c0bc6d0dc96223d
Author: Aleksander Grygier <aleksander.grygier@gmail.com>
Date: Thu Nov 26 20:09:59 2026 +0100
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)
diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml
index 0c32992d3..60e5e8582 100644
--- a/.github/workflows/ui.yml
+++ b/.github/workflows/ui.yml
@@ -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