1.0.2 • Published 2 years ago
glowing-parakeet v1.0.2
glowing-parakeet
Publishing a package with npm, github actions, semantic release and conventional commits
Note: this package is not made for actual use.
Actions used
Checkout
To be used whenever you are using Github actions.
Allows github workflows to be used.
Node
To be used whenever you are using node. It allows you to cache the node modules, also test in different versions of node.
Commitlint
Lints pull requests with Commitlint
Publish / Release
Required
Github Repo > Secrets > Actions
- NPM_TOKEN
- GHTOKEN (github token): note that prefixing the token with `GITHUB` is no longer allowed, so name this GH_TOKEN instead
package.json
"release": {
"analyzeCommits": "semantic-release-conventional-commits"
"branches": "main"
}
linting commits
See the commitlint.