Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
ci: setup semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
itigoore01 committed Oct 3, 2019
1 parent 47d1add commit 67e0738
Show file tree
Hide file tree
Showing 5 changed files with 10,666 additions and 5,229 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ jobs:
cp ./LICENSE ./dist/praparat
env:
CI: true
- name: publish
run: |
npx semantic-release
- uses: actions/upload-artifact@v1
with:
name: praparat-artifact
path: dist/praparat
42 changes: 42 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"pkgRoot": "dist/praparat"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
],
"@semantic-release/github"
]
}
Loading

0 comments on commit 67e0738

Please sign in to comment.