@gliech/semantic-release-config-github-npm
v1.3.1
Published
semantic-release shareable configuration for github projects that publish npm packages
Downloads
9
Readme
@gliech/semantic-release-config-github-npm
Disclaimer: This configuration does not do much by itself and was mainly created so that I won't have to replace configurations in all of my repositories if I decide to change the way I do semantic versioning.
A shareable semantic-release config for npm packages with code hosted on github.
This shareable configuration uses @gliech/semantic-release-config-base, which serves as the source for most changes to the default options for plugins included here.
Usage
As this module and @gliech/semantic-release-config-base contain all necessary modules as dependencies, all you need to do to use semantic-release is add just this module to your package.json
{
...
"devDependencies": {
"@gliech/semantic-release-config-github-npm": "^1.2.0"
},
"release": {
"extends": ["./index.js"]
}
}
In addition this repository provides a reusable GitHub Actions workflow that you
can use in your .github/workflows
.
---
on:
push:
name: main
jobs:
release:
name: semantic release
uses: gliech/semantic-release-config-github-npm/.github/workflows/release.yml@v1
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
License
This project is licensed under the terms of the BSD 4-Clause License