Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

ci(workflows): build Vite frontend bundle before UI tests (#3989)

LearningCircuitc6dfc6dc8e1d
diff --git a/.github/workflows/puppeteer-e2e-tests.yml b/.github/workflows/puppeteer-e2e-tests.yml
index adc2cd9027..0c9cf041fc 100644
--- a/.github/workflows/puppeteer-e2e-tests.yml
+++ b/.github/workflows/puppeteer-e2e-tests.yml
@@ -77,6 +77,17 @@ jobs:
- name: Install Python dependencies
run: pdm install
+ - name: Install root frontend dependencies
+ run: npm ci
+
+ - name: Build Vite frontend bundle
+ # Generates src/local_deep_research/web/static/dist/, which the
+ # Flask app loads via vite_helper. Without this the page renders
+ # without bundled CSS, causing tests to run against a partially
+ # unstyled UI (the responsive baseline tracked in PR #3979 was
+ # captured against a built bundle).
+ run: npm run build
+
- name: Install Puppeteer dependencies
working-directory: tests/puppeteer
run: |
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index b712315fd1..2a56bb80dd 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -101,7 +101,18 @@ jobs:
- name: Install Python dependencies
run: pdm install
- - name: Install Node dependencies
+ - name: Install root frontend dependencies
+ run: npm ci
+
+ - name: Build Vite frontend bundle
+ # Generates src/local_deep_research/web/static/dist/, which the
+ # Flask app loads via vite_helper. Without this the responsive UI
+ # tests run against an unstyled page (no styles.css), which means
+ # any CSS source changes between PRs are invisible to the test
+ # baseline. See follow-up to PR #3985 for context.
+ run: npm run build
+
+ - name: Install Node test dependencies
working-directory: tests/ui_tests
run: |
npm ci