Skip to content

Commit

Permalink
chore: add Semantic Release on Github Actions (#224)
Browse files Browse the repository at this point in the history
* chore: add Semantic Release on Github Actions

* fixup!

* fixup!
  • Loading branch information
himself65 authored Jan 30, 2020
1 parent 06a2771 commit dff1b03
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/git
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,8 @@
}
]
]
},
"release": {
"branches": ["master", "next"]
}
}

0 comments on commit dff1b03

Please sign in to comment.