mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 16:07:16 +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>
931 B
931 B
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 toproduction)skip_tests: boolean – for emergency onlyforce_deploy: boolean – bypasses some checks (avoid except emergencies)
Secrets
VERCEL_ORG_ID,VERCEL_PROJECT_ID,VERCEL_TOKEN– used by Vercel CLI
Standards
- Node:
20.xeverywhere - Coverage thresholds: pragmatic (see
jest.config.js); raise over time - Do not commit
.env.local; use Vercel/GitHub secrets - Protect
mainbranch: require status checks (CI pass), disallow direct pushes, require PR reviews