Refactor CI workflows to improve caching mechanisms for dependencies in API Docs, frontend, and service adapters; replace artifact upload steps with test results summaries for better clarity in pipeline logs; update progress documentation accordingly
Some checks failed
API Docs (Node.js Express) / test (16) (push) Successful in 10m11s
API Docs (Node.js Express) / test (18) (push) Successful in 10m18s
API Docs (Node.js Express) / test (20) (push) Successful in 1m50s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m52s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 5m3s
API Docs (Node.js Express) / security (push) Has been cancelled
API Docs (Node.js Express) / build (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
Docker Build and Push / deploy-staging (push) Has been cancelled
Docker Build and Push / deploy-production (push) Has been cancelled
Docker Build and Push / security-scan (push) Has been cancelled
Docker Build and Push / build-and-push (push) Has been cancelled
Integration Tests / performance-tests (push) Has been cancelled
Integration Tests / integration-tests (push) Has been cancelled
Frontend (React) / lighthouse (push) Has been cancelled
Frontend (React) / security (push) Has been cancelled
Frontend (React) / test (18) (push) Has been cancelled
Frontend (React) / test (20) (push) Has been cancelled
Frontend (React) / build (push) Has been cancelled
Frontend (React) / test (16) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.1) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.11) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.12) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.9) (push) Has been cancelled
Service Adapters (Python FastAPI) / build (push) Has been cancelled
Service Adapters (Python FastAPI) / security (push) Has been cancelled

This commit is contained in:
glenn schrooyen
2025-09-12 22:52:20 +02:00
parent 8c87c84208
commit 11bd4e0a8f
4 changed files with 50 additions and 36 deletions

View File

@@ -42,6 +42,16 @@ jobs:
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-
${{ runner.os }}-node-
${{ runner.os }}-
id: npm-cache
- name: Cache status
run: |
if [ "${{ steps.npm-cache.outputs.cache-hit }}" == "true" ]; then
echo "✅ Cache hit! Dependencies will be restored from cache."
else
echo "❌ Cache miss. Dependencies will be downloaded fresh."
fi
- name: Install dependencies
run: |
@@ -95,14 +105,12 @@ jobs:
flags: api-docs
name: api-docs-coverage
- name: Upload test results
uses: actions/upload-artifact@v4
- name: Test results summary
if: always()
with:
name: test-results-node-${{ matrix.node-version }}
path: |
services/api-docs/coverage/
services/api-docs/test-results/
run: |
echo "Test results available in pipeline logs"
echo "Coverage report: services/api-docs/coverage/"
echo "Jest test results: services/api-docs/test-results/"
build:
runs-on: ubuntu-latest