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()