mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-11 18:10:01 +08:00
chore: upgrade dependencies and GitHub Actions for Node.js 24 compatibility Upgrade GitHub Actions to fix Node.js 20 deprecation warnings: - actions/checkout v4 → v6 - actions/setup-node v4 → v6 - pnpm/action-setup v3 → v4 - docker/login-action v3 → v4 - docker/setup-qemu-action v3 → v4 - docker/setup-buildx-action v3 → v4 - docker/build-push-action v5 → v7 - node-version 20 → 22, pnpm 8 → 10 Upgrade project dependencies: - frontend: vue 3.5.30, naive-ui 2.44.1, dompurify 3.3.3, @unhead/vue 2.1.12 - worker: hono 4.12.7, @cloudflare/workers-types, typescript-eslint 8.57.0 - all: wrangler 4.72.0 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@v4
|
|
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
|