ci: don't build yarn modules for linux arm (#49031)

This should fix the oom errors
This commit is contained in:
John Kleinschmidt
2025-11-26 04:25:16 -05:00
committed by GitHub
parent 4786e80f33
commit 20c7042a20

View File

@@ -21,4 +21,11 @@ runs:
if [ "$TARGET_ARCH" = "x86" ]; then
export npm_config_arch="ia32"
fi
node script/yarn.js install --immutable
# if running on linux arm skip yarn Builds
ARCH=$(uname -m)
if [ "$ARCH" = "armv7l" ]; then
echo "Skipping yarn build on linux arm"
node script/yarn.js install --immutable --mode=skip-build
else
node script/yarn.js install --immutable
fi