this project contains some github action workflows as a playground for myself
commit-author (created by me)
(on every push)
- Checks commit's author email if it is end with @gmail.com
(on push master)
- Bumps version if merged pull request's commit message contains PATCH, MINOR, MAJOR prefix
- Creates a tag due if version is bumped
- Creates a release if new tag is generated
Notes: It uses Github's Personal Access Token due to trigger publish-to-npm workflow. Here is why
(on create new release)
- Install dependencies (uses @actions/cache to restore it from previous run)
- Create build and publishes to NPM
Notes: It uses NPM_AUTH_TOKEN due to publish without login