feat: set up semantic release

This commit is contained in:
Manfred Touron 2020-02-22 20:43:54 +01:00
parent db58e53f3b
commit 6a6e788968
2 changed files with 21 additions and 0 deletions

13
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: Semantic Release
on: push
jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: codfish/semantic-release-action@v1
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

8
.releaserc.js Normal file
View file

@ -0,0 +1,8 @@
module.exports = {
branch: 'master',
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/github',
],
};