From 05eefa9f7789d0e3e5050d01dbc3ee9266e00f94 Mon Sep 17 00:00:00 2001 From: emma Date: Fri, 13 Dec 2024 18:43:40 -0500 Subject: [PATCH] remove extra `cd`s --- .github/workflows/frontend-lint-test-build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend-lint-test-build.yaml b/.github/workflows/frontend-lint-test-build.yaml index 568bec3622..7ee1ae6830 100644 --- a/.github/workflows/frontend-lint-test-build.yaml +++ b/.github/workflows/frontend-lint-test-build.yaml @@ -136,19 +136,21 @@ jobs: if: steps.playwright-cache.outputs.cache-hit != 'true' - name: Create env file + working-directory: frontend run: | - cd frontend touch .env echo DEV_PASSWORD="${{ secrets.DEV_PASSWORD }}" >> .env echo API_BASE_URL=${{ secrets.API_BASE_URL }} >> .env cat .env - name: Build frontend - run: cd frontend && yarn build + working-directory: frontend + run: yarn build id: build-frontend - name: Run Playwright tests - run: cd frontend && yarn playwright test + working-directory: frontend + run: yarn playwright test - uses: actions/upload-artifact@v4 if: always()