Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.13 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.13 KB

Example library for GitHub releases workshop

A simple Node.js library (with math-related utility functions). Serves to demonstrate automated releases using semantic versioning.

Workflows

  • CI workflow runs tests on push to any branch
  • Release workflow runs on every push to main branch
    • determines next version from conventional commit messages
    • if there aren't any changes impacting library consumers (feat, fix or BREAKING CHANGE commits), release is skipped
    • new library version is published to GitHub Packages registry
    • a new release commit is tagged with vX.Y.Z and pushed to main branch
    • a new GitHub release is created with appropriate release notes

Links