fix(test): avoid ELIFECYCLE by recursive calling of test

This commit is contained in:
Elian Doran 2025-05-28 18:03:02 +03:00
parent 21370f3b3e
commit 483e09aaa0
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ jobs:
- run: pnpm install --frozen-lockfile
- name: Run the unit tests
run: pnpm run test
run: pnpm run test:all
build_docker:
name: Build Docker image

View File

@ -19,7 +19,7 @@
"chore:generate-openapi": "tsx ./scripts/generate-openapi.ts",
"chore:update-build-info": "tsx ./scripts/update-build-info.ts",
"chore:update-version": "tsx ./scripts/update-version.ts",
"test": "pnpm test:parallel && pnpm test:sequential",
"test:all": "pnpm test:parallel && pnpm test:sequential",
"test:parallel": "pnpm nx run-many -t test --all --exclude=ckeditor5-mermaid,ckeditor5-math --parallel",
"test:sequential": "pnpm nx run-many -t test --projects=ckeditor5-mermaid,ckeditor5-math --parallel=1",
"coverage": "pnpm nx run-many -t coverage"