-
Notifications
You must be signed in to change notification settings - Fork 0
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
Migrate from jenkins to GitHub actions #231
Migrate from jenkins to GitHub actions #231
Conversation
// We only run semantic-release on the release branches, | ||
// as we do not want credentials to be exposed to the job | ||
// on other branches or in PRs. | ||
if (env.BRANCH_NAME ==~ /^(master|\d+\.(\d+|x)(\.x)?)$/) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't include support for releasing from non-trunk branches, such as referenced here.
We don't have any such branches today, nor any plans on supporting it afaik
Before adding these changes, we need to decide how to handle public NPM packages, marking as draft for now. |
npm token strategy has been decided, and token has been added to workflow according to the semrel guide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments regarding job permissions, but otherwise looks good 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I suggest we clean up the commit history a bit, and use a conventional commit type (e.g., fix(ci): use github actions
or feat(ci): use github actions
) that will trigger a release so we can verify that everything works as expected upon merge.
c909931
to
c1fb632
Compare
🎉 This PR is included in version 2.19.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.