Skip to content

Conversation

@drewalth
Copy link
Member

@drewalth drewalth commented Jul 10, 2023

This PR implements a strategy for automatically generating releases with semantic-release and commitlint.

If semantic-release determines a new version of the codebase, a new release tag will be created, the CHANGELOG.md will be updated, and a snapshot of the codebase will be saved in GitHub releases.

  • Adds dev dependency semantic-release to the main build workflow.
  • Adds dev dependency commitlint to enforce conventional commit messages required by semantic-release
  • Reorganizes several dependencies categorized as production dependencies when they should be dev dependencies.
  • Upgrades the checkout action to v3 in the main GHA workflow.


- name: NPM Install
run: npm ci
run: npm ci --ignore-scripts
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the --ignore-scripts flag prevents installing git hooks with husky via the prepare script.

@drewalth drewalth marked this pull request as ready for review July 11, 2023 00:30
@drewalth drewalth requested a review from ngottlieb July 11, 2023 00:30
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

Successfully merging this pull request may close these issues.

2 participants