employeeService/.github/workflows/playwright.yml
Jan Klattenhoff 6c1ec524ec
Some checks failed
Playwright Tests / test (pull_request) Failing after 1m36s
chore: update Playwright tests and remove examples
2025-01-16 17:19:38 +01:00

27 lines
669 B
YAML

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
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30