-
Notifications
You must be signed in to change notification settings - Fork 557
ci(release): move shipjs to actions #6869
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
base: master
Are you sure you want to change the base?
Conversation
By being on github actions, we no longer need a bot account, as it can use the github token generated by actions. This also means you no longer need to run release locally with a github token to prepare a release, you can start it from the github actions page.
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit fcca998:
|
dhayab
left a comment
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.
This looks good to me, although I'm wondering if at this stage, it wouldn't be better to move all jobs to GH instead. Wdyt?
| - name: Trigger release if latest commit is a release commit | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: npx [email protected] trigger |
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.
Does this still require NPM_TOKEN or have you enabled trusted publishing?
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.
good catch! one of the things I couldn't check without doing a release 😅
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.
If it's not too complex, I'd recommend relying on trusted publishing then.
Could be interesting, but I believe pricing for circleci is better than GitHub actions. To check! |
Summary
migrate releasing from circleci to GitHub actions
Result
By being on github actions, we no longer need a bot account, as it can use the github token generated by actions.
This also means you no longer need to run release locally with a github token to prepare a release, you can start it from the github actions page.
FX-3682