Skip to content

Commit

Permalink
ci: set up github actions workflow for semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
omnibrain committed Jul 18, 2022
1 parent 4f8d7f5 commit 507313b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Semantic Release
on:
push:
branches:
- master
- next
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"branches": [
"master",
{
"name": "develop",
"name": "next",
"prerelease": true
}
],
Expand Down

0 comments on commit 507313b

Please sign in to comment.