Skip to content

👷 ci: Create CI workflow for Playwright E2E tests #3

👷 ci: Create CI workflow for Playwright E2E tests

👷 ci: Create CI workflow for Playwright E2E tests #3

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
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github-actions/setup
- name: Install Playwright Browsers
run: pnpm playwright install --with-deps
- name: Setup environment variables
run: cd apps/student/ && cp .env.example .env
- name: Run Playwright tests
run: cd apps/student/ && pnpm playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30