fix: Add --legacy-peer-deps to truth-scoring, verification-pipeline, and rollback-manager workflows

- Added --legacy-peer-deps flag to all npm ci commands
- Fixes TypeScript peer dependency conflicts (5.9.2 vs <5.9.0)
- Resolves failing workflow setups:
  * Truth Scoring Pipeline
  * Verification Pipeline
  * Rollback Manager

This ensures consistent dependency installation across all workflows.

🤖 Generated with Claude Code
This commit is contained in:
rUv committed 2025-11-25 15:57:11 +00:00
1 parent a9437b4335
commit 39b97f4bb9
3 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ jobs:
# Test if the target can build (strict error checking)
echo "Installing dependencies..."
npm ci
npm ci --legacy-peer-deps
echo "Testing build..."
npm run build:ts
+6 -6
View File
@@ -63,7 +63,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Initialize truth scoring database
run: |
@@ -107,7 +107,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Download session config
uses: actions/download-artifact@v4
@@ -218,7 +218,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Download session config
uses: actions/download-artifact@v4
@@ -306,7 +306,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Download session config
uses: actions/download-artifact@v4
@@ -319,13 +319,13 @@ jobs:
echo "⚡ Running baseline performance tests..."
git checkout ${{ needs.truth-scoring-setup.outputs.baseline-ref }}
npm ci
npm ci --legacy-peer-deps
# Run performance benchmarks for baseline
timeout 300s npm run test:performance > truth-scoring-data/baseline-performance.log 2>&1 || true
git checkout ${{ github.sha }}
npm ci
npm ci --legacy-peer-deps
- name: Run current performance tests
run: |
+6 -6
View File
@@ -51,7 +51,7 @@ jobs:
echo "cache-key=${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}" >> $GITHUB_OUTPUT
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Cache dependencies
uses: actions/cache@v4
@@ -87,7 +87,7 @@ jobs:
key: ${{ needs.setup-verification.outputs.cache-key }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Security audit
run: |
@@ -140,7 +140,7 @@ jobs:
key: ${{ needs.setup-verification.outputs.cache-key }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: ESLint code analysis
run: |
@@ -192,7 +192,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Run unit tests
run: |
@@ -250,7 +250,7 @@ jobs:
key: ${{ needs.setup-verification.outputs.cache-key }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build TypeScript
run: |
@@ -340,7 +340,7 @@ jobs:
name: build-artifacts-${{ needs.setup-verification.outputs.verification-id }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Run performance benchmarks
run: |