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

Improve build and publish process #247

Closed
Elliot-Alexander opened this issue Jul 25, 2023 · 0 comments
Closed

Improve build and publish process #247

Elliot-Alexander opened this issue Jul 25, 2023 · 0 comments

Comments

@Elliot-Alexander
Copy link

Elliot-Alexander commented Jul 25, 2023

Describe the solution you'd like

  • Enforce conventional commits standards for commits merged to main using commitlint
  • Use semantic release to automatically calculate the version, tag and publish the built package.
  • Use tags to maintain the version and update the package.json version only in the published version - this prevents issues with pushing back to main from the CI and prevent security issues by allowing pushes directly to main.
  • Allows us to automatically add a structure changelog to the GitHub release (using commit scopes)

Describe alternatives you've considered

  • Could also just automatically tag each merge to main and trigger publishing by using GitHub releases - but this will require more manually work and is less 'semantic' I guess
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

No branches or pull requests

2 participants