Follow these steps to ensure a smooth and consistent release process.
We currently use changesets for tracking changes, generating changelogs, and publishing releases.
We don't use changesets prerelease mode yet as we want to avoid additonal steps when creating a new release.
-
Make a PR from
next
intomain
branch -
Merge PR into
main
using a merge commit
-
Changeset bot should now pickup the changesets (inside
.changeset/
) and generate a PR with bumped version and changelog. -
Approve and merge the PR.
-
Changeset bot will now publish new a package version to npmjs and create github releases
-
Verify that new version is available in npmjs (under
latest
tag) and on github releases
- Manually trigger the github action deployment to
production
environment frommain
branch:- Deploy Storefront
- Deploy Theme
- Deploy Storybook
-
Make a PR from
main
intonext
branch -
Merge PR into
next
using a merge commit
- Use Release Snapshot to publish new version for testing on
@next
before releasing to production