diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index cdd15c1d7..3e675932a 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -3,7 +3,17 @@ name: E2E Tests -on: push +on: + push: + branches: + - main + paths: + - 'frontend/**' + pull_request: + branches: + - '**' + paths: + - 'frontend/**' defaults: run: @@ -142,7 +152,7 @@ jobs: - name: Upload artifacts if: ${{ failure() }} uses: actions/upload-artifact@v3.1.1 - with: + with: name: e2e-artifacts path: frontend/e2e/report retention-days: 1