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: use npm ci for integrity hash verification in npm update workflow

LearningCircuita16b3469b776
diff --git a/.github/workflows/update-npm-dependencies.yml b/.github/workflows/update-npm-dependencies.yml
index 0ce8cf6bf2..46786b626b 100644
--- a/.github/workflows/update-npm-dependencies.yml
+++ b/.github/workflows/update-npm-dependencies.yml
@@ -56,22 +56,33 @@ jobs:
cd "$NPM_DIR"
npm audit --audit-level moderate
- - name: 🔐 Fix security vulnerabilities
+ - name: 🔐 Fix security vulnerabilities (lockfile only)
env:
NPM_DIR: ${{ matrix.npm_directory.path }}
run: |
cd "$NPM_DIR"
- npm audit fix --level moderate || echo "Some vulnerabilities could not be auto-fixed"
+ # Update lockfile only - actual install happens via npm ci below
+ npm audit fix --package-lock-only || echo "Some vulnerabilities could not be auto-fixed"
- - name: 👚 Update to latest compatible versions
+ - name: 👚 Update to latest compatible versions (lockfile only)
env:
NPM_DIR: ${{ matrix.npm_directory.path }}
NPM_ARGS: ${{ inputs.npm_args || '--save' }}
run: |
cd "$NPM_DIR"
+ # Update lockfile only - actual install happens via npm ci below
# Intentional word splitting for npm args
# shellcheck disable=SC2086
- npm update $NPM_ARGS
+ npm update --package-lock-only $NPM_ARGS
+
+ - name: 📦 Install from lockfile with integrity verification
+ env:
+ NPM_DIR: ${{ matrix.npm_directory.path }}
+ run: |
+ cd "$NPM_DIR"
+ # npm ci installs from lockfile with integrity hash verification
+ # This satisfies OSSF Scorecard pinned-dependencies requirement
+ npm ci
- name: 🔨 Build (if applicable)
env: