chore: sync CI config with Gitea (--forceExit --no-cache, NODE_OPTIONS)
CI / test (18.x) (push) Canceled after 0s
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s

This commit is contained in:
2026-07-25 11:35:50 +08:00
parent 3febcf99df
commit 5184e9e8c1
+4 -2
View File
@@ -12,7 +12,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [18.x, 22.x] node-version: [18.x, 20.x, 22.x, 24.x]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -34,7 +34,9 @@ jobs:
continue-on-error: true continue-on-error: true
- name: Run tests - name: Run tests
run: npx jest --coverage --forceExit --maxWorkers=2 run: npx jest --forceExit --maxWorkers=2 --no-cache
env:
NODE_OPTIONS: --max-old-space-size=4096
- name: Build - name: Build
run: npm run build run: npm run build