build: use semantic-release

This commit is contained in:
romain lespinasse
2019-11-06 22:13:40 +01:00
parent c35fd2094f
commit 7a49243757
7 changed files with 6323 additions and 20 deletions

View File

@@ -1,17 +1,16 @@
name: ci
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Tests
uses: ./.github/actions/bats
- uses: actions/checkout@v1
- uses: ./.github/actions/bats
- uses: cycjimmy/semantic-release-action@v2
if: github.ref == 'refs/heads/master'
with:
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}