chore: automatiskt changelog via semantic-release (#170)

This commit is contained in:
Rickard Natt och Dag 2021-02-21 15:51:04 +01:00 committed by GitHub
parent c4b2e51a81
commit d8b1d27fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -31,3 +31,13 @@ jobs:
run: yarn test
env:
CI: true
- name: Create release using semantic-release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 17.1.1
extra_plugins: |
@semantic-release/changelog@5.0.1
@semantic-release/git@9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

13
.releaserc Normal file
View File

@ -0,0 +1,13 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/npm", {
"npmPublish": false
}],
"@semantic-release/git"
]
}