Release workflow with changesets

Updated 2 months ago

  1. Set up changesets in your GitHub repository

  2. Create a feature branch

    git checkout -b <branch>
    
  3. Push changes to your branch

    git commit -m "..."
    git push
    
  4. Add a changeset (if the changes should result in a new version)

    yarn changeset
    
  5. Create a pull request

    gh pr create
    
  6. Merge the pull request into the main (default) branch

  7. If the pull request contained a changeset, the changesets action will create a "Version Packages" pull request

  8. Continue merging changes into the main (default) branch

  9. Merge the "Version Packages" pull request to trigger a release