fix: CI 移除 --no-cache + 单线程,彻底解决 725 测试在弱 CPU 上超时
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 1h1m17s

This commit is contained in:
2026-07-25 17:00:07 +08:00
parent 32ff342bae
commit 6a9d6c2263
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
continue-on-error: true continue-on-error: true
- name: Run tests - name: Run tests
run: npx jest --forceExit --maxWorkers=1 --testTimeout=15000 --no-cache run: npx jest --forceExit --maxWorkers=1 --testTimeout=15000
env: env:
NODE_OPTIONS: --max-old-space-size=4096 NODE_OPTIONS: --max-old-space-size=4096