Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Initial configuration for unit and e2e tests #2

Initial configuration for unit and e2e tests

Initial configuration for unit and e2e tests #2

Workflow file for this run

name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/setup-node@v4.0.1
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Start Test Server
run: npm run test:start &
- name: Run Playwright tests
run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30