Skip to content

Commit 119246b

Browse files
committed
Merge branch 'feat-automate-releases-releasenotes' of github.com:datavisyn/github-workflows into feat-automate-releases-releasenotes
2 parents f8760a0 + 29cd313 commit 119246b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,13 @@ runs:
153153
# Define the node sequence of commands
154154
node_job() {
155155
set -e
156-
yarn install --no-immutable --inline-builds
156+
for i in {1..3}; do
157+
echo "Attempt $i of 3: Installing dependencies..."
158+
yarn install --no-immutable --inline-builds && break || {
159+
echo "Attempt $i failed. Retrying in 5 seconds..."
160+
sleep 5
161+
}
162+
done
157163
158164
parallel_jobs=()
159165
if [ "$RUN_NODE_LINT" = "true" ]; then

0 commit comments

Comments
 (0)