Skip to content

Commit

Permalink
build(release): use semantic-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Dec 27, 2020
1 parent 43382f5 commit ef03e9d
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 5,736 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ jobs:
run: npm run type-check

- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
conventional-changelog-conventionalcommits
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
3 changes: 3 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"preset": "conventionalcommits"
}
Loading

0 comments on commit ef03e9d

Please sign in to comment.