diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 539c032a..03ae91d2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -6,8 +6,6 @@ on: branches: [develop] jobs: test: - env: - DATABASE_URL: ${{ secrets.DATABASE_URL }} timeout-minutes: 60 runs-on: ubuntu-latest environment: Preview @@ -21,6 +19,8 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} run: npx playwright test - uses: actions/upload-artifact@v3 if: always()