Skip to content

skill: create issue-pilot skill #31

skill: create issue-pilot skill

skill: create issue-pilot skill #31

Workflow file for this run

name: E2E Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch: # allow manual runs from the GitHub Actions UI
jobs:
e2e:
name: Playwright (Chromium)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright browser + OS dependencies
run: npx playwright install --with-deps chromium
- name: Run E2E tests
run: npm run test:e2e
env:
CI: true
# Add any env vars the Next.js dev server needs here, e.g.:
# AUTH_EMAIL: ${{ secrets.AUTH_EMAIL }}
# AUTH_PASSWORD: ${{ secrets.AUTH_PASSWORD }}
# SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
# Always upload the HTML report so failures are inspectable in the UI
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 14
# Traces are larger; only keep them when a test actually failed
- name: Upload failure traces
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: test-results/
retention-days: 7