fix: reduce CI matrix to 18/22, add --forceExit to prevent test hangs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user