ci: add CI workflow and semantic-release pipeline#1
Merged
Conversation
Set up automated CI checks on pull requests (lint, test, build, validate, publint) and semantic-release for automated versioning, changelog generation, and npm publishing on push to main with OIDC trusted publishing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
Adds automated CI checks on pull requests and a semantic-release pipeline for automated versioning, changelog generation, and npm publishing on push to main. Uses OIDC trusted publishing (no NPM_TOKEN needed) and the TxnLab Release Bot GitHub App for authentication.
Details
Key changes
.github/workflows/ci.yml): Runs lint, test, build, validate, and publint on every PR with concurrency control.github/workflows/release.yml): On push to main, runs full CI checks then semantic-release with GitHub App token and OIDC npm publishing.releaserc.js): Angular preset with changelog generation, npm publish, GitHub release, and version commit-backpublishConfig(public access + provenance),publintscript, removedprepublishOnly, fixedrepository.urlformat.prettierignore: AddedCHANGELOG.mdto prevent formatting conflicts with generated changelogSetup required after merge
RELEASE_BOT_APP_IDvariable andRELEASE_BOT_PRIVATE_KEYsecret (already configured org-wide)@txnlab/skillsTesting