Skip to content

ci: update Playwright test workflow #4

ci: update Playwright test workflow

ci: update Playwright test workflow #4

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master, v4.0.0]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: pnpm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Dev Server
run: npm run dev
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30