From 03219c90c24e994e1e9b98dbb50486c20f7c8239 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 5 Jul 2024 15:48:32 -0400 Subject: [PATCH] trying to fix my workflow retry failures --- .github/workflows/pr_ci_playwright_e2e.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_ci_playwright_e2e.yaml b/.github/workflows/pr_ci_playwright_e2e.yaml index 8bb8c6e8a..0e5c1dcf8 100644 --- a/.github/workflows/pr_ci_playwright_e2e.yaml +++ b/.github/workflows/pr_ci_playwright_e2e.yaml @@ -62,8 +62,9 @@ jobs: while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]; do echo "Attempt $ATTEMPT of $MAX_ATTEMPTS" yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000 + STATUS=$? - if [[ $? -eq 0 ]]; then + if [[ $STATUS -eq 0 ]]; then echo "Server is ready!" break else