Use this flow for every public release of MaryanKostrubyak/react-bot.
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 buildStart 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:webRun 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- Ensure
README.md, screenshots, and.env.examplestill match the current demo. - Confirm no secrets, local databases, logs, or private n8n exports are tracked.
- Update
CHANGELOG.mdwith the release date and notable changes.
- 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.0CImust pass onmain.Releasemust pass for the pushed tag.- Verify the GitHub release page contains generated notes and points to the commit that includes the updated
CHANGELOG.md.
- 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.