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(REACH-550): prepare github release workflow #91

Merged
merged 5 commits into from
Jul 4, 2023

Conversation

gierlas
Copy link
Contributor

@gierlas gierlas commented Jul 3, 2023

What

Migrate from Travis to Git Hub release workflow.

@gierlas gierlas requested a review from a team as a code owner July 3, 2023 12:16
- run: yarn test:unit
- run: (yarn server &) && sleep 1 && yarn test:integration

- run: yarn build
Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor Author

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') }}

Copy link
Contributor

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 👍

@gierlas gierlas requested review from mathio and mumpo July 4, 2023 09:04
@gierlas gierlas merged commit 7050f43 into main Jul 4, 2023
2 checks passed
@typeform-ops-gha
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mathio mathio deleted the chore/REACH-550-use-release-workflow branch October 10, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants