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.
- Merge
next
intomain
branch
-
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
- Merge
main
intonext
branch
- Use Release Snapshot to publish new version for testing on
@next
before releasing to production