Skip to content

Conversation

nirinchev
Copy link
Contributor

This PR adds the following:

  1. A "Prepare Release" workflow that can be invoked with an update type (patch/minor/major). Once run, it will bump the package version, create a release/version branch, and open a PR.
  2. A package job for the PR workflow. This is run only on release/* branches and will run npm pack and archive the output.
  3. A "Publish Release" workflow that needs to be manually invoked. It will run npm publish, merge the release PR, then create a github release with an autogenerated changelog. This workflow needs to access the npm token as an environment secret and as such needs an approval from a member of the devtools team to run (who is not the person who ran the workflow).

I'm working with IT on getting the actual token, so this wouldn't work until we get it.

@nirinchev nirinchev requested a review from addaleax November 19, 2024 17:24
Copy link
Contributor

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

Nice, let's try this out!

@nirinchev nirinchev merged commit 39bbf9b into main Nov 19, 2024
12 of 15 checks passed
@nirinchev nirinchev deleted the ni/release-workflow branch November 19, 2024 21:13
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