From fda3975eaf630128c68b1ee89db81e0fa3fa4264 Mon Sep 17 00:00:00 2001 From: Niall Maher Date: Mon, 8 Jan 2024 13:57:25 +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 03ae91d2..539c032a 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -6,6 +6,8 @@ on: branches: [develop] jobs: test: + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} timeout-minutes: 60 runs-on: ubuntu-latest environment: Preview @@ -19,8 +21,6 @@ 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()