Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Set up publish-by-pull-request workflow #17

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

donmccurdy
Copy link
Member

@donmccurdy donmccurdy commented Sep 30, 2024

Proposed release process:

  1. Update changelog
  2. Run yarn version patch
  3. Run yarn postversion. If current branch is main, script creates a new branch (release/$VERSION) and pushes. Otherwise, script creates a new commit on the current branch and pushes.
  4. If previous step created a new branch, then open a PR, get approval, and merge. Releases merged to main are published to npm automatically. Otherwise, trigger the workflow manually from the GitHub Actions panel.

@donmccurdy donmccurdy marked this pull request as ready for review September 30, 2024 19:25
Copy link
Contributor

@padawannn padawannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the approach

@donmccurdy donmccurdy merged commit 065a0d6 into main Oct 1, 2024
4 checks passed
@donmccurdy donmccurdy deleted the chore/publish-by-pull-request branch October 1, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants