Skip to content

Nightly E2E Tests

Nightly E2E Tests #56

Workflow file for this run

name: Nightly E2E Tests
on:
schedule:
- cron: '0 2 * * *' # Runs at 2 AM UTC every day
workflow_dispatch: # Allows manual triggering
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run E2E tests
run: npm run e2e
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results/
retention-days: 5