From 668a0238c590185979a671d3b00548c4c9ef5953 Mon Sep 17 00:00:00 2001 From: Segun Adebayo Date: Wed, 13 Apr 2022 21:36:43 +0400 Subject: [PATCH] fix: test ci script --- packages/core/package.json | 2 +- packages/frameworks/react/package.json | 2 +- packages/frameworks/solid/package.json | 2 +- packages/frameworks/svelte/package.json | 2 +- packages/frameworks/vue/package.json | 2 +- packages/machines/accordion/package.json | 2 +- packages/machines/combobox/package.json | 2 +- packages/machines/dialog/package.json | 2 +- packages/machines/editable/package.json | 2 +- packages/machines/menu/package.json | 2 +- packages/machines/number-input/package.json | 2 +- packages/machines/pin-input/package.json | 2 +- packages/machines/popover/package.json | 2 +- packages/machines/range-slider/package.json | 2 +- packages/machines/rating/package.json | 2 +- packages/machines/slider/package.json | 2 +- packages/machines/splitter/package.json | 2 +- packages/machines/tabs/package.json | 2 +- packages/machines/tags-input/package.json | 2 +- packages/machines/toast/package.json | 2 +- packages/machines/toggle/package.json | 2 +- packages/machines/tooltip/package.json | 2 +- packages/types/package.json | 2 +- packages/utilities/core/package.json | 2 +- packages/utilities/dom/package.json | 2 +- packages/utilities/number/package.json | 2 +- packages/utilities/popper/package.json | 2 +- packages/utilities/rect/package.json | 2 +- scripts/src/commands/modify.ts | 2 +- turbo.json | 3 +++ 30 files changed, 32 insertions(+), 29 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index ee0a8c0fa9..ae487bd924 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -27,7 +27,7 @@ "build": "zag build --prod", "test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" }, "publishConfig": { diff --git a/packages/frameworks/react/package.json b/packages/frameworks/react/package.json index c6f7270dd4..dca9632548 100644 --- a/packages/frameworks/react/package.json +++ b/packages/frameworks/react/package.json @@ -44,7 +44,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/frameworks/solid/package.json b/packages/frameworks/solid/package.json index 214884c6bd..8d266c0874 100644 --- a/packages/frameworks/solid/package.json +++ b/packages/frameworks/solid/package.json @@ -44,7 +44,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/frameworks/svelte/package.json b/packages/frameworks/svelte/package.json index 46909dc9b7..68e09c19ee 100644 --- a/packages/frameworks/svelte/package.json +++ b/packages/frameworks/svelte/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/frameworks/vue/package.json b/packages/frameworks/vue/package.json index 200a13bde4..71988aabb1 100644 --- a/packages/frameworks/vue/package.json +++ b/packages/frameworks/vue/package.json @@ -45,7 +45,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/accordion/package.json b/packages/machines/accordion/package.json index 5fb9659067..0889628492 100644 --- a/packages/machines/accordion/package.json +++ b/packages/machines/accordion/package.json @@ -40,7 +40,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/combobox/package.json b/packages/machines/combobox/package.json index ff8f4fe90c..033dfcd23b 100644 --- a/packages/machines/combobox/package.json +++ b/packages/machines/combobox/package.json @@ -41,7 +41,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/dialog/package.json b/packages/machines/dialog/package.json index ec260f6d69..e0d8b45497 100644 --- a/packages/machines/dialog/package.json +++ b/packages/machines/dialog/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/editable/package.json b/packages/machines/editable/package.json index ac4a7c2b70..6a27bdeb61 100644 --- a/packages/machines/editable/package.json +++ b/packages/machines/editable/package.json @@ -39,7 +39,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/menu/package.json b/packages/machines/menu/package.json index 2188f1054d..f9933a6baa 100644 --- a/packages/machines/menu/package.json +++ b/packages/machines/menu/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/number-input/package.json b/packages/machines/number-input/package.json index e05390acd9..bacd5a8539 100644 --- a/packages/machines/number-input/package.json +++ b/packages/machines/number-input/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/pin-input/package.json b/packages/machines/pin-input/package.json index e6b3454192..4fd217abc9 100644 --- a/packages/machines/pin-input/package.json +++ b/packages/machines/pin-input/package.json @@ -40,7 +40,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/popover/package.json b/packages/machines/popover/package.json index 893e69d325..2958c94222 100644 --- a/packages/machines/popover/package.json +++ b/packages/machines/popover/package.json @@ -43,7 +43,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/range-slider/package.json b/packages/machines/range-slider/package.json index b570a56d1b..4849ce54c2 100644 --- a/packages/machines/range-slider/package.json +++ b/packages/machines/range-slider/package.json @@ -43,7 +43,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/rating/package.json b/packages/machines/rating/package.json index 5ca49f6505..02cf39893b 100644 --- a/packages/machines/rating/package.json +++ b/packages/machines/rating/package.json @@ -41,7 +41,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/slider/package.json b/packages/machines/slider/package.json index 5c195fc752..80ca6dd4c9 100644 --- a/packages/machines/slider/package.json +++ b/packages/machines/slider/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/splitter/package.json b/packages/machines/splitter/package.json index 2d8262b7df..b7ce2e1788 100644 --- a/packages/machines/splitter/package.json +++ b/packages/machines/splitter/package.json @@ -42,7 +42,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/tabs/package.json b/packages/machines/tabs/package.json index df2103899a..88a6943bc3 100644 --- a/packages/machines/tabs/package.json +++ b/packages/machines/tabs/package.json @@ -40,7 +40,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/tags-input/package.json b/packages/machines/tags-input/package.json index 1a60c5ddd6..ee49fb691f 100644 --- a/packages/machines/tags-input/package.json +++ b/packages/machines/tags-input/package.json @@ -39,7 +39,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/toast/package.json b/packages/machines/toast/package.json index 02e5f858c1..6473ecbfc8 100644 --- a/packages/machines/toast/package.json +++ b/packages/machines/toast/package.json @@ -40,7 +40,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/toggle/package.json b/packages/machines/toggle/package.json index e617fbf282..e9e398221c 100644 --- a/packages/machines/toggle/package.json +++ b/packages/machines/toggle/package.json @@ -39,7 +39,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/machines/tooltip/package.json b/packages/machines/tooltip/package.json index ddf7cabfd9..dd13982806 100644 --- a/packages/machines/tooltip/package.json +++ b/packages/machines/tooltip/package.json @@ -40,7 +40,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/types/package.json b/packages/types/package.json index fdd6286568..281bc864ca 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -29,7 +29,7 @@ "build": "zag build --prod", "test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/utilities/core/package.json b/packages/utilities/core/package.json index 33bf094422..13bcef647d 100644 --- a/packages/utilities/core/package.json +++ b/packages/utilities/core/package.json @@ -30,7 +30,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/utilities/dom/package.json b/packages/utilities/dom/package.json index c21cab6cfc..f958b77d00 100644 --- a/packages/utilities/dom/package.json +++ b/packages/utilities/dom/package.json @@ -35,7 +35,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/utilities/number/package.json b/packages/utilities/number/package.json index 8856fdfce0..0fcdc7f8e7 100644 --- a/packages/utilities/number/package.json +++ b/packages/utilities/number/package.json @@ -30,7 +30,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/utilities/popper/package.json b/packages/utilities/popper/package.json index 43a0efc26a..26b4c42b89 100644 --- a/packages/utilities/popper/package.json +++ b/packages/utilities/popper/package.json @@ -35,7 +35,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/packages/utilities/rect/package.json b/packages/utilities/rect/package.json index d51088a5a0..26c9922113 100644 --- a/packages/utilities/rect/package.json +++ b/packages/utilities/rect/package.json @@ -33,7 +33,7 @@ "build": "zag build --prod", "test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot" } } \ No newline at end of file diff --git a/scripts/src/commands/modify.ts b/scripts/src/commands/modify.ts index 995dd3e92e..b78101de36 100644 --- a/scripts/src/commands/modify.ts +++ b/scripts/src/commands/modify.ts @@ -15,7 +15,7 @@ export default async function modify() { build: "zag build --prod", test: `jest --config ${jestConfig} --rootDir . --passWithNoTests`, lint: "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:ci": "yarn test --ci --runInBand", "test:watch": "yarn test --watch --updateSnapshot", }, } diff --git a/turbo.json b/turbo.json index 337dc906ba..b7cc3aabbe 100644 --- a/turbo.json +++ b/turbo.json @@ -16,6 +16,9 @@ "test": { "cache": false }, + "test:ci": { + "cache": false + }, "lint": { "cache": false }