Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 1.87 KB

release-checklist.md

File metadata and controls

71 lines (54 loc) · 1.87 KB

Release Checklist

Use this flow for every public release of MaryanKostrubyak/react-bot.

1. Validate locally

npm install
$env:DATABASE_URL='file:./dev.db'
npm --workspace apps/api run prisma:generate
npm --workspace apps/api run prisma:push
npm --workspace apps/api run prisma:seed
npm run lint
npm run build

Start the local demo:

$env:DATABASE_URL='file:./dev.db'
$env:JWT_SECRET='local-demo-secret'
$env:DEV_LOGIN_TOKEN='dev-token'
$env:ADMIN_TG_USER_ID='123456789'
$env:BOT_TOKEN='local-demo-bot-token'
npm run dev:api
$env:NEXT_PUBLIC_API_URL='http://localhost:3001/api'
$env:NEXT_PUBLIC_WS_URL='http://localhost:3001'
$env:NEXT_PUBLIC_DEV_LOGIN_TOKEN='dev-token'
npm run dev:web

Run smoke validation in a third terminal:

$env:SMOKE_WEB_URL='http://localhost:3000'
$env:SMOKE_API_URL='http://localhost:3001/api'
$env:DEV_LOGIN_TOKEN='dev-token'
node scripts/e2e-smoke.mjs

2. Review repo packaging

  • Ensure README.md, screenshots, and .env.example still match the current demo.
  • Confirm no secrets, local databases, logs, or private n8n exports are tracked.
  • Update CHANGELOG.md with the release date and notable changes.

3. Publish to GitHub

  • Merge or rebase onto main.
  • Create a semver tag such as v1.0.0.
  • Push branch and tag:
git push origin main
git push origin v1.0.0

4. Confirm automation

  • CI must pass on main.
  • Release must pass for the pushed tag.
  • Verify the GitHub release page contains generated notes and points to the commit that includes the updated CHANGELOG.md.

5. Final manual check

  • Open the repo landing page and confirm README rendering, badges, and screenshots.
  • Open the latest release and verify tag, notes, and commit target.
  • If this demo is deployed anywhere public, verify links and Telegram Mini App entrypoints still resolve.