feat: add semantic-release automation#106
Open
SamuelSSalazar wants to merge 1 commit intoauth0:masterfrom
Open
feat: add semantic-release automation#106SamuelSSalazar wants to merge 1 commit intoauth0:masterfrom
SamuelSSalazar wants to merge 1 commit intoauth0:masterfrom
Conversation
f9d9f1d to
b3d742c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By submitting a PR to this repository, I agree to the terms within the Auth0 Code of Conduct.
Description
This PR implements an automated release process to replace manual npm publishing. It modernizes the release process with a fully automated process using semantic-release, GitHub Actions, and OIDC authentication
Key Benefits
Automated Release Pipeline
Security-First Publishing
Developer Experience
Changes
.releaserc.json) to automate versioning and npm publishing.husky/commit-msg) for local commit message validationprepare-release.yml- Computes next semantic version and creates release PR with changes to package.json and updated CHANGELOG.release.yml- Publishes to npm using OIDC Auth and creates Github tag + relase.commitlint.yml- Validates commit messages on PRstest.yml: - Multi-NodeJS test matrix (Node 20, 22, 24).travis.yml)Breaking Changes: None. This is an infrastructure change that doesn't affect the library's public API.
Links
Testing
Clone this branch
Test commit lint
npm installto install dependencies (triggers Husky setup)git commit -m "bad message"(should fail)git commit -m "feat: test"(should succeed)Fork repo. Merge this PR into master in fork, check executed actions.
This change adds test coverage for new/changed/fixed functionality
Post-Merge Testing Plan:
Checklist
Additional Notes