ci: enforce strict v8 memory and thread limit to prevent CI from crashing the NAS kernel
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 11m14s
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 14m4s
Run Tests / Backend Tests (push) Failing after 16m38s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running

This commit is contained in:
Gan, Jimmy
2026-04-05 00:39:46 +08:00
parent 950ca59ac8
commit 585a4c0500
+5 -1
View File
@@ -61,14 +61,18 @@ jobs:
cache-dependency-path: 'dashboard/frontend/package-lock.json' cache-dependency-path: 'dashboard/frontend/package-lock.json'
- name: Install dependencies - name: Install dependencies
env:
NODE_OPTIONS: "--max-old-space-size=2048"
run: | run: |
cd dashboard/frontend cd dashboard/frontend
npm ci npm ci
- name: Run tests - name: Run tests
env:
NODE_OPTIONS: "--max-old-space-size=2048"
run: | run: |
cd dashboard/frontend cd dashboard/frontend
npm run test:coverage -- --reporter=verbose --run npm run test:coverage -- --reporter=verbose --run --pool=forks --poolOptions.forks.maxForks=2
test-summary: test-summary:
name: Test Summary name: Test Summary