mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-10 17:43:31 +08:00
* ci: upgrade GitHub Actions to support Node.js 24 - pnpm/action-setup: v4 → v5 - actions/upload-artifact: v4 → v6 - actions/download-artifact: v4 → v6 - sync.yaml: replace inactive aormsby/Fork-Sync-With-Upstream-action with gh repo sync Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ci: replace softprops/action-gh-release with gh release CLI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(ci): use gh release upload instead of create for existing releases Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
713 B
YAML
35 lines
713 B
YAML
name: End-to-End Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
e2e:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Run E2E tests
|
|
run: |
|
|
cd e2e
|
|
docker compose up --build --abort-on-container-exit --exit-code-from e2e-runner
|
|
|
|
- name: Upload test results
|
|
if: always()
|
|
uses: actions/upload-artifact@v6
|
|
with:
|
|
name: playwright-report
|
|
path: |
|
|
e2e/test-results/
|
|
e2e/playwright-report/
|
|
retention-days: 30
|
|
|
|
- name: Cleanup
|
|
if: always()
|
|
run: |
|
|
cd e2e
|
|
docker compose down -v
|