From 483e09aaa0f8356c3f79717aa7ec0d8061b9cd6f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 28 May 2025 18:03:02 +0300 Subject: [PATCH] fix(test): avoid ELIFECYCLE by recursive calling of test --- .github/workflows/dev.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 6497ebb96..0fabd8a74 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 02ab16693..0e1935fa2 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"