From 5cb42fb8e4f092d07b775e9ecc48bf6811c7f920 Mon Sep 17 00:00:00 2001 From: Christoph Jerolimov Date: Tue, 14 May 2024 00:26:04 +0200 Subject: [PATCH] chore(tests): do not run unit tests in parallel --- package.json | 2 +- turbo.json | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 50d42a3fcf..3ec006e810 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build:storybook": "yarn --cwd packages/storybook build", "tsc": "turbo run tsc", "clean": "turbo run clean", - "test": "turbo run test", + "test": "turbo run test --concurrency=1", "lint": "turbo run lint", "lint:fix": "turbo run lint -- --fix", "lint-staged": "lint-staged", diff --git a/turbo.json b/turbo.json index f7afef7bd0..f61c5e1351 100644 --- a/turbo.json +++ b/turbo.json @@ -1,5 +1,11 @@ { "$schema": "https://turbo.build/schema.json", + "globalDependencies": [ + ".prettierrc.js", + ".eslintrc.js", + "tsconfig.json", + "yarn.lock" + ], "pipeline": { "start": { "cache": false, @@ -30,6 +36,5 @@ "outputs": ["../../dist-types/**"], "dependsOn": ["^tsc"] } - }, - "globalDependencies": ["prettierrc.js"] + } }