You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ci): split CI and deploy into separate workflows
Move Cloudflare deployment (R2 sync, Worker deploy, cache purge) out of
ci.yml into a new deploy.yml workflow that triggers only when a GitHub
Release is published.
Previously, deployment was gated on commit message matching
(chore(release): ...), which was fragile and required np to be configured
with a custom message format. Now the flow is:
pnpm release → np bumps, tags, pushes, publishes GitHub Release
→ deploy.yml triggers → build → R2 → Worker → cache purge
CI (ci.yml) now only runs lint, format, tests, and build on push/PR.
Also update np config to publish a full GitHub Release instead of a
draft, and update README and deployment checklist documentation.
Releases are cut locally using [np](https://github.com/sindresorhus/np). It runs pre-release checks (clean tree, tests, build), bumps `package.json`, creates a git tag, pushes, and drafts a GitHub Release.
178
-
179
-
Only release commits trigger production deployment — regular pushes to `main` run CI (lint, test, build) but do not deploy.
177
+
Releases are managed locally using [np](https://github.com/sindresorhus/np) and deployed automatically via GitHub Actions when a GitHub Release is published.
0 commit comments