From 92812c9faaa2ec985a04474b1a724cdf99c06e28 Mon Sep 17 00:00:00 2001 From: Niall Maher Date: Mon, 8 Jan 2024 14:03:16 +0000 Subject: [PATCH] Move env section --- .github/workflows/playwright.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()