ci: fix node_modules stage for PR builds (#277081)

This commit is contained in:
Robo
2025-11-13 18:04:32 +09:00
committed by GitHub
parent 80a9092381
commit d22a78ed50

View File

@@ -116,6 +116,10 @@ jobs:
source ./build/azure-pipelines/linux/setup-env.sh
# Run preinstall script before root dependencies are installed
# so that v8 headers are patched correctly for native modules.
node build/npm/preinstall.js
for i in {1..5}; do # try 5 times
npm ci && break
if [ $i -eq 5 ]; then