From 3febcf99df192764b7af3d428b2766e07bdf41ca Mon Sep 17 00:00:00 2001 From: thzxx <1440196015@qq.com> Date: Sat, 25 Jul 2026 11:32:23 +0800 Subject: [PATCH] fix: reduce CI matrix to 18/22, add --forceExit to prevent test hangs --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 26dd42c..6581c3b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x, 24.x] + node-version: [18.x, 22.x] steps: - uses: actions/checkout@v4 @@ -34,7 +34,7 @@ jobs: continue-on-error: true - name: Run tests - run: npm test + run: npx jest --coverage --forceExit --maxWorkers=2 - name: Build run: npm run build