Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 4cf9c87

Browse files
committed
workaround cb() never called
1 parent b998756 commit 4cf9c87

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/Release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ jobs:
2525
wget https://github.com/eksrvb/awesome-ci/releases/latest/download/awesome-ci
2626
chmod +x awesome-ci
2727
- name: install npm packages
28-
run: npm ci
28+
run: |
29+
# Retry 3 times before the steps actually fails
30+
(echo "===== NPM Install Attempt: 1 ====" && npm ci) || \
31+
(echo "===== NPM Install Attempt: 2 ====" && npm ci) || \
32+
(echo "===== NPM Install Attempt: 3 ====" && npm ci) || \
33+
(echo "==== NPM Install Step Failed ====" && exit 1)
2934
- name: package Applikation
3035
run: npm run build
3136
- name: set publish config

.github/workflows/branchPR.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ jobs:
2626
wget https://github.com/eksrvb/awesome-ci/releases/latest/download/awesome-ci
2727
chmod +x awesome-ci
2828
- name: install npm packages
29-
run: npm ci
29+
run: |
30+
# Retry 3 times before the steps actually fails
31+
(echo "===== NPM Install Attempt: 1 ====" && npm ci) || \
32+
(echo "===== NPM Install Attempt: 2 ====" && npm ci) || \
33+
(echo "===== NPM Install Attempt: 3 ====" && npm ci) || \
34+
(echo "==== NPM Install Step Failed ====" && exit 1)
3035
- name: package Applikation
3136
run: npm run build
3237
- name: Dry-Run release

0 commit comments

Comments
 (0)