Skip to content

Commit

Permalink
trying to fix my workflow retry failures
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 5, 2024
1 parent c8bc794 commit 01fcaef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr_ci_playwright_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ jobs:
MAX_ATTEMPTS=3
WAIT_TIME=30
ATTEMPT=1
while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]
do
while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]; do
echo "Attempt $ATTEMPT of $MAX_ATTEMPTS"
yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000
if [[ $? -eq 0 ]]; then
echo "Server is ready!"
break
Expand Down

0 comments on commit 01fcaef

Please sign in to comment.