9292 - name : Clear Yarn Cache
9393 run : yarn cache clean
9494 - run : |
95- for i in {1..3 }; do
96- bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break || sleep 5
95+ for i in {1..2 }; do # workaround for yarn cache issue
96+ sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break
9797 done
9898
9999 run-smoke--yarn--node-22--redoc :
@@ -110,8 +110,8 @@ jobs:
110110 - name : Clear Yarn Cache
111111 run : yarn cache clean
112112 - run : |
113- for i in {1..3 }; do
114- bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break || sleep 5
113+ for i in {1..2 }; do # workaround for yarn cache issue
114+ sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break
115115 done
116116
117117 run-smoke--yarn--node-20 :
@@ -128,8 +128,8 @@ jobs:
128128 - name : Clear Yarn Cache
129129 run : yarn cache clean
130130 - run : |
131- for i in {1..3 }; do
132- bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break || sleep 5
131+ for i in {1..2 }; do # workaround for yarn cache issue
132+ sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break
133133 done
134134
135135 run-smoke--yarn--node-20--redoc :
@@ -146,8 +146,8 @@ jobs:
146146 - name : Clear Yarn Cache
147147 run : yarn cache clean
148148 - run : |
149- for i in {1..3 }; do
150- bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break || sleep 5
149+ for i in {1..2 }; do # workaround for yarn cache issue
150+ sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break
151151 done
152152
153153 run-smoke--pnpm--node-22 :
@@ -195,7 +195,7 @@ jobs:
195195 node-version : 22
196196 - name : Run Smoke Tests
197197 run : |
198- Start-Sleep -Seconds 20
198+ Start-Sleep -Seconds 20 # workaround for yarn cache issue
199199 for ($i = 1; $i -le 3; $i++) {
200200 try {
201201 bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn"
@@ -234,7 +234,7 @@ jobs:
234234 node-version : 20
235235 - name : Run Smoke Tests
236236 run : |
237- Start-Sleep -Seconds 20
237+ Start-Sleep -Seconds 20 # workaround for yarn cache issue
238238 for ($i = 1; $i -le 3; $i++) {
239239 try {
240240 bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn"
0 commit comments