chore(ci): change playwright triggering conditions

This commit is contained in:
Elian Doran 2025-01-11 00:50:18 +02:00
parent 497b6e0e2d
commit ab2a4d741d
No known key found for this signature in database

View File

@ -1,9 +1,9 @@
name: Playwright Tests name: Playwright Tests
on: on:
push: push:
branches: [ main, master ] branches: [ develop ]
pull_request: pull_request:
branches: [ main, master ] branches: [ develop ]
jobs: jobs:
test: test:
timeout-minutes: 60 timeout-minutes: 60
@ -20,7 +20,7 @@ jobs:
- name: Run Playwright tests - name: Run Playwright tests
run: npx playwright test run: npx playwright test
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
if: always() if: ${{ !cancelled() }}
with: with:
name: playwright-report name: playwright-report
path: playwright-report/ path: playwright-report/