Files
orangecat/docs/devops/ci-cd.md
T
Your NameandClaude 5f1fcb709f chore: version 0.1.1 deployment - fix configuration and dependencies
- 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>
2025-10-13 09:30:45 +02:00

931 B
Raw Blame History

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