fix: handle Clerk expiration and fix logout #4151
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Playwright Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: blacksmith-4vcpu-ubuntu-2204 | |
continue-on-error: true | |
strategy: | |
matrix: | |
project: ["tests/e2e", "examples/chat", "examples/file-share-svelte", "examples/form", "examples/music-player", "examples/pets", "starters/react-passkey-auth"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Source Code | |
uses: ./.github/actions/source-code/ | |
- name: Pnpm Build | |
run: pnpm turbo build | |
working-directory: ./${{ matrix.project }} | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install | |
working-directory: ./${{ matrix.project }} | |
- name: Run Playwright tests | |
run: pnpm exec playwright test | |
working-directory: ./${{ matrix.project }} | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: ${{ hashFiles(format('{0}/package.json', matrix.project)) }}-playwright-report | |
path: ./${{ matrix.project }}/playwright-report/ | |
retention-days: 30 |