chore: automatiskt changelog via semantic-release (#170)
This commit is contained in:
parent
c4b2e51a81
commit
d8b1d27fd1
|
@ -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 }}
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue