From 9ee0d01af633571ce20c28b08020f12d666f3eac Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 2 May 2024 15:16:51 +0200 Subject: [PATCH] fix(ci): prevent V8 crashes during build (#10330) Signed-off-by: Jon Koops --- .github/actions/setup-project/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index b51a8ba250a..25f79580689 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -59,3 +59,7 @@ runs: if: inputs.skip-build != 'true' && steps.cache-build.outputs.cache-hit != 'true' shell: bash run: yarn build && yarn build:umd + env: + # Disable V8 compile cache to hard crashes in Node.js. This can likely be removed once upgraded to the next LTS version (version 22). + # See: https://github.com/nodejs/node/issues/51555 + DISABLE_V8_COMPILE_CACHE: 1