Skip to content

Commit

Permalink
Update pr-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
irshadahmad21 committed Oct 11, 2024
1 parent 4de3b41 commit 0a3dc51
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,24 @@ jobs:

- name: Build
run: pnpm build

- name: Install Playwright dependencies
run: |
npx playwright install chromium firefox webkit --with-deps
- name: Start WordPress Environment
run: |
pnpm env-start
- name: Run tests
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: pnpm test:e2e

- name: Archive debug artifacts (screenshots, traces)
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: failures-artifacts--${{ matrix.part }}
path: artifacts/test-results
if-no-files-found: ignore

0 comments on commit 0a3dc51

Please sign in to comment.