From e99816429cb019d9b934df912ca7ea68226af1a6 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Sat, 23 Aug 2025 23:49:25 -0700 Subject: [PATCH] Update svelte_integration.yml fixing run --- .github/workflows/svelte_integration.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/svelte_integration.yml b/.github/workflows/svelte_integration.yml index 422a338..31c1e02 100644 --- a/.github/workflows/svelte_integration.yml +++ b/.github/workflows/svelte_integration.yml @@ -2,10 +2,10 @@ name: Run_Svelte_Integration_on_PRs on: push: - branches: - - master - - main - - development + branches: [ main, master ] + pull_request: + branches: [ main, master ] + workflow_dispatch: @@ -30,6 +30,7 @@ env: jobs: e2e-tests: name: Run end-to-end tests + timeout-minutes: 60 runs-on: ubuntu-latest steps: - name: Checkout code @@ -48,4 +49,10 @@ jobs: - name: Install playwright browsers run: pnpx playwright install --with-deps - name: Run tests - run: pnpm test:integration + run: pnpx playwright test + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 30