refactor: reorganize project structure and improve code quality

- Move CI/CD configs to config/ci/ directory
- Reorganize scripts into categorized directories (deployment, monitoring, testing, utils)
- Consolidate documentation into docs/ directory with proper structure
- Update linting and testing configurations
- Remove obsolete test reports and performance summaries
- Add new documentation for code quality tools and contact form security
- Improve project organization and maintainability
- Fix lint-staged config to only lint JS/TS files
- Disable react/react-in-jsx-scope rule for Next.js compatibility
- Ignore scripts and test config directories in ESLint
This commit is contained in:
张翔
2026-03-24 13:38:58 +08:00
parent c06ac08510
commit 498bb3a3c8
62 changed files with 5473 additions and 6498 deletions
+50
View File
@@ -0,0 +1,50 @@
when:
event:
- push
- pull_request
pipeline:
test-tier-fast:
image: mcr.microsoft.com/playwright:v1.42.0-jammy
environment:
TEST_TIER: fast
CI: true
commands:
- cd e2e
- npm ci
- npx playwright install --with-deps
- npm run test:tier:fast
when:
branch:
- main
- develop
- feat-dynamic
test-tier-standard:
image: mcr.microsoft.com/playwright:v1.42.0-jammy
environment:
TEST_TIER: standard
CI: true
commands:
- cd e2e
- npm ci
- npx playwright install --with-deps
- npm run test:tier:standard
when:
branch:
- main
- develop
test-tier-deep:
image: mcr.microsoft.com/playwright:v1.42.0-jammy
environment:
TEST_TIER: deep
CI: true
commands:
- cd e2e
- npm ci
- npx playwright install --with-deps
- npm run test:tier:deep
when:
branch:
- main