Prasyarat
- Bun 1.3+
- Postgres lokal atau Neon dev
- File
.envdi root (salin dari.env.example)
Struktur kerja
Branch & commit
- Branch dari
main:feat/...,fix/...,docs/... - Commit message: conventional commits (
feat:,fix:,docs:) - PR ke
main— CI harus hijau
CI yang harus lulus
Detail: CI/CD
Setelah ubah frontend
Wajib browser check — lihat Playwright.Setelah ubah docs
docs.json navigation.
Env & secrets
- Shared:
.env(gitignored) - Override dev:
.env.development.local - Override prod:
.env.production.local - Merge:
./thub env merge
Deploy
- Production: manual via GitHub Actions Deploy Cloudflare atau
./thub deploylokal - Bukan auto-deploy on merge