Skip to content

Update playwright.yml (#587) #435

Update playwright.yml (#587)

Update playwright.yml (#587) #435

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.41.2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install -g [email protected]
- run: pnpm install
- run: pnpm build
- run: npx playwright install
- run: pnpm test || exit 1
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30