Skip to content

Commit 6a751ad

Browse files
committed
fix(ci): prevent V8 crashes during build
Signed-off-by: Jon Koops <[email protected]>
1 parent 16ffebf commit 6a751ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/setup-project/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@ runs:
5959
if: inputs.skip-build != 'true' && steps.cache-build.outputs.cache-hit != 'true'
6060
shell: bash
6161
run: yarn build && yarn build:umd
62+
env:
63+
# Disable V8 compile cache to hard crashes in Node.js. This can likely be removed once upgraded to the next LTS version (version 22).
64+
# See: https://github.com/nodejs/node/issues/51555
65+
DISABLE_V8_COMPILE_CACHE: 1

0 commit comments

Comments
 (0)