From d51bb35a11f65559fbe33f5543a56dd7feb3f0ce Mon Sep 17 00:00:00 2001 From: cballevre Date: Tue, 5 Nov 2024 14:41:11 +0100 Subject: [PATCH] chore: Remove flaky crash on CI build This commit aims to remove flaky crash on CI build due to node. We follow the solution proposed inside https://github.com/nodejs/node/issues/51555 that disable compile cache on v8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0959483893..1160853520 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint": "eslint --ext js,jsx,ts,tsx .", "lint:md": "remark . -o", "test": "lerna run --concurrency 1 --ignore cozy-procedures --ignore cozy-mespapiers-lib test", - "build": "lerna run --scope cozy-device-helper build && lerna run --scope cozy-minilog build && lerna run --parallel --ignore cozy-device-helper --ignore cozy-minilog --ignore cozy-mespapiers-lib build", + "build": "DISABLE_V8_COMPILE_CACHE=1 lerna run --scope cozy-device-helper build && lerna run --scope cozy-minilog build && lerna run --parallel --ignore cozy-device-helper --ignore cozy-minilog --ignore cozy-mespapiers-lib build", "check-constraints": "node scripts/check-packages-constraints.js" }, "devDependencies": {