Skip to content

🎭 Playwright

🎭 Playwright #1250

Workflow file for this run

name: 🎭 Playwright
on: [deployment_status]
jobs:
test:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
name: Install pnpm
with:
version: 7
- uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
- name: Run Playwright tests
run: pnpm exec playwright test
env:
BASE_URL: ${{ github.event.deployment_status.target_url }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30