From 9969cabd194c093662f9b7e78a22d96cfa15c1c9 Mon Sep 17 00:00:00 2001 From: msharkey Date: Wed, 24 Jan 2024 15:29:53 -0600 Subject: [PATCH] Update playwright.yml --- .github/workflows/playwright.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index d30c9468..343a3252 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -6,7 +6,6 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest - if: github.event.deployment_status.state == 'success' steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -14,9 +13,13 @@ jobs: node-version: 18 - name: Install dependencies run: npm ci - - name: Install Playwright + - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests run: npx playwright test - env: - PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }} \ No newline at end of file + - uses: actions/upload-artifact@v3 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 30