Skip to content

ci(release): add CI badges and trusted npm publishing - #6

Closed
haskou wants to merge 2 commits into
masterfrom
feat/readme-badges-ci
Closed

haskou wants to merge 2 commits into
masterfrom
feat/readme-badges-ci

Conversation

@haskou

@haskou haskou commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add compact README badges for CI, Codecov coverage, npm version, and license.
  • Add a GitHub Actions CI workflow that runs lint, coverage, build, and uploads coverage to Codecov.
  • Add npm publishing on merged PRs from fix/*, feat/*, and break/* branches using npm Trusted Publishing.
  • Document release branch prefixes and their npm version bump behavior.

Validation

  • yarn lint && yarn test:coverage && yarn build
  • Parsed .github/workflows/ci.yml with js-yaml

Setup Required

  • Configure npm Trusted Publishing for @haskou/value-objects with GitHub Actions workflow filename ci.yml.
  • Add CODECOV_TOKEN as a GitHub Actions secret if Codecov requires tokened uploads for the repository.

@codecov-commenter

codecov-commenter commented Jun 7, 2026 •

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

haskou commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #7, which uses the release branch prefix and PR title naming expected for squash merge.

@haskou haskou closed this Jun 7, 2026
@haskou
haskou deleted the feat/readme-badges-ci branch June 7, 2026 00:04
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