mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 20:28:04 +01:00
- Bump version to 0.1.1 for tracking - Add webpack-bundle-optimizer script for Next.js config - Simplify ESLint configuration to resolve missing dependencies - Prepare for production deployment with proper version control This deployment includes: - Profile update fixes with banner_url support - LN address validation - Auth cookie fixes for profile updates - Various documentation and testing improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
931 B
Markdown
28 lines
931 B
Markdown
# CI/CD Pipeline
|
||
|
||
Primary workflow: `.github/workflows/one-button-deploy.yml`
|
||
|
||
Stages
|
||
- Setup Node 20 + npm cache
|
||
- Install dependencies (`npm ci`)
|
||
- Lint (`npm run lint`)
|
||
- Type-check (`npm run type-check`)
|
||
- Tests (blocking) with coverage (`npm run test:ci`)
|
||
- Build (`npm run build`)
|
||
- Deploy to Vercel via CLI (prod when `main`)
|
||
- Health check + optional Lighthouse audit
|
||
|
||
Inputs
|
||
- `environment`: `production`|`staging` (defaults to `production`)
|
||
- `skip_tests`: boolean – for emergency only
|
||
- `force_deploy`: boolean – bypasses some checks (avoid except emergencies)
|
||
|
||
Secrets
|
||
- `VERCEL_ORG_ID`, `VERCEL_PROJECT_ID`, `VERCEL_TOKEN` – used by Vercel CLI
|
||
|
||
Standards
|
||
- Node: `20.x` everywhere
|
||
- Coverage thresholds: pragmatic (see `jest.config.js`); raise over time
|
||
- Do not commit `.env.local`; use Vercel/GitHub secrets
|
||
- Protect `main` branch: require status checks (CI pass), disallow direct pushes, require PR reviews
|