Skip to content

Friday pm playwright #114

Friday pm playwright

Friday pm playwright #114

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps && npx playwright install msedge
- name: Setup upterm session (for ssh-ing)
uses: lhotari/action-upterm@v1
- name: Run Playwright tests
run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30