Github Actions Release ·
Github actions for the package release.
Features
😀🤓😎🤗😉😇
Check Release Proposal
Example: 'Release {Semver Version}'
Check Release Version
1.0.0 -> 1.0.1 ✅
1.0.0 -> 1.0.1 ✅
2.0.0 -> 1.0.0 ❎
Search Release Label
Add the label to the Release Pull Request
1.0.0 -> 1.0.1 👉 semver:patch
1.0.0 -> 1.1.1 👉 semver:minor
1.0.0 -> 2.2.1 👉 semver:major
Usage
Enable Github Actions
Add SSH Keys / Npm Auth Token to Secrets.
Project - Settings - Secrets
NPM_AUTH_TOKEN
RELEASE_SSH_ID_RSA
RELEASE_SSH_ID_RSA_PUB
RELEASE_GIT_USER_NAME
RELEASE_GIT_USER_EMAIL
Create Workflow
## actions action "npm install" action "npm ci" action "npm release" ## workflow workflow "Pull Request"
Handle Pull Request
- Create the PR
- Review code
- Change PR title to
Release {Semver Version}
- Close PR without deleting branch
What will the action do ?
- It will a add label like:
semver:patch
- Create a Release Tag with updated changelog
- Release the package with run
npm publish --access public
Contributing
Suggestions
Please open an issue here.
License
Github Actions Release is MIT licensed.