Skip to content

Build your personal knowledge base with Trilium Notes

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

Elian Doran483e09aaa0f8
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 6497ebb96e..0fabd8a743 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -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
diff --git a/package.json b/package.json
index 02ab166937..0e1935fa23 100644
--- a/package.json
+++ b/package.json
@@ -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"