Semantic Release shareable config
Install
- Create
.releaserc.json
file in directory, write into it:...
{
"extends": "@5app/semantic-release-config"
}
- Install the dev dependency
npm i @5app/semantic-release-config
- Add Job to CI pipeline
See .circleci/config.yml
for example
release:
executor: default
steps:
- checkout
- node/install-packages
- run: npx semantic-release
- Grant @ci Team Privileges
In repo settings grant the CI user with write settings