From c73119cedf6986d68ebec20fe13a515795ee470b Mon Sep 17 00:00:00 2001 From: aasim Date: Fri, 17 May 2024 21:19:46 -0400 Subject: [PATCH] fixed working directory for verify yarn wait-on --- .github/workflows/pr_ci_playwright_e2e.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_ci_playwright_e2e.yaml b/.github/workflows/pr_ci_playwright_e2e.yaml index f4331cd62..3fd38551b 100644 --- a/.github/workflows/pr_ci_playwright_e2e.yaml +++ b/.github/workflows/pr_ci_playwright_e2e.yaml @@ -15,11 +15,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Ensure .env.dev file exists + - name: Check if .env.dev file exists run: | if [ ! -f .env.dev ]; then - echo "Creating .env.dev file" - echo "REACT_APP_API_URL=http://localhost:3000" > .env.dev + echo ".env.dev file does not exist. Exiting workflow." + exit 1 fi - name: Clean up any existing containers @@ -53,6 +53,7 @@ jobs: run: sudo yarn install - name: Verify wait-on installation + working-directory: ./frontend run: | yarn --version yarn list wait-on