-
Notifications
You must be signed in to change notification settings - Fork 29
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(REACH-550): prepare github release workflow #91
Conversation
.github/workflows/release.yml
Outdated
- run: yarn test:unit | ||
- run: (yarn server &) && sleep 1 && yarn test:integration | ||
|
||
- run: yarn build |
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.
Could we also run everything up to this point on every PR? To avoid unexpected issues when merging.
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.
You can create a new pr.yml
with the same steps but following on
:
name: Pull Request
on:
pull_request:
branches:
- main
- beta
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.
Should be better now! I added if: ${{ contains(github.ref, 'refs/heads/main') || contains(github.ref, 'refs/heads/beta') }}
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.
Interesting approach. In other projects we have a separate action, but I kind of like this approach - do not repeat yourself! It might be a bit harder to read, but I like it 👍
🎉 This PR is included in version 1.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What
Migrate from Travis to Git Hub release workflow.