feat: add CI pipeline with ESLint, refactor deploy with rollback + Telegram
Some checks failed
CI / Lint, Test & Build (push) Failing after 5m28s
Deploy to Production / Build and Deploy (push) Has been cancelled

- Add eslint.config.mjs (flat config, eslint-config-next@16 + TypeScript)
- Add .gitea/workflows/ci.yaml (lint, test:unit, build on all branches)
- Refactor deploy.yaml: needs: [ci] gate, Docker rollback tag, Telegram notifications
- Fix 3 pre-existing lint errors (empty interfaces, ts-ignore, require imports)
This commit is contained in:
Antigravity
2026-05-16 21:56:25 +00:00
parent bb75b2e763
commit 93c6bbca85
10 changed files with 4511 additions and 438 deletions

View File

@@ -25,7 +25,8 @@
"test:unit:coverage": "vitest run --coverage",
"test:migration": "vitest run tests/migration",
"test:migration:watch": "vitest watch tests/migration",
"locales:agent-slide-themes": "node scripts/localize-agent-slide-themes-and-translate.mjs"
"locales:agent-slide-themes": "node scripts/localize-agent-slide-themes-and-translate.mjs",
"lint": "eslint"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.76",
@@ -136,6 +137,8 @@
"@types/react-dom": "^19",
"@vitest/coverage-v8": "^4.0.18",
"concurrently": "^9.2.1",
"eslint": "^9.39.4",
"eslint-config-next": "^16.2.6",
"prisma": "^5.22.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.21.0",