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.

fix: Update workflow for Vite build in root directory

LearningCircuit0b369c815d56
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 551f6da540..bd8c97bef8 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -12,7 +12,8 @@ jobs:
has-frontend: ${{ steps.check.outputs.has-frontend }}
container:
image: node:20-alpine
- options: --user 1001 --network none
+ # Note: Network is needed for npm ci to work, but no secrets are available
+ options: --user 1001
permissions:
contents: read
@@ -22,21 +23,23 @@ jobs:
- name: Check for frontend assets
id: check
run: |
- if [ -f "src/local_deep_research/web/package.json" ]; then
+ if [ -f "package.json" ] && [ -f "package-lock.json" ]; then
echo "has-frontend=true" >> $GITHUB_OUTPUT
- echo "Found package.json - will build frontend"
+ echo "Found package.json and package-lock.json - will build frontend"
else
echo "has-frontend=false" >> $GITHUB_OUTPUT
- echo "No package.json - skipping frontend build"
+ echo "No frontend build files found - skipping"
fi
- name: Build frontend
if: steps.check.outputs.has-frontend == 'true'
run: |
- cd src/local_deep_research/web
+ # Install dependencies from root package.json
npm ci --ignore-scripts --no-audit --no-fund
- npm run build --ignore-scripts 2>/dev/null || true
- echo '{"status":"complete","built":"$(date -Iseconds)"}' > static/.frontend-built
+ # Build with Vite (outputs to src/local_deep_research/web/static/dist)
+ npm run build --ignore-scripts
+ # Create build marker
+ echo '{"status":"complete","built":"$(date -Iseconds)"}' > src/local_deep_research/web/static/.frontend-built
- name: Upload frontend artifacts
if: steps.check.outputs.has-frontend == 'true'