Skip to content

Commit

Permalink
ci: add semantic-release job
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj authored and okonet committed Apr 4, 2020
1 parent 93f6ce5 commit b480351
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,21 @@ jobs:
needs: test
steps:
- uses: actions/checkout@v2
# Upload coverage artifact
# Download coverage artifact
- uses: actions/download-artifact@v1
with:
name: coverage
# Run codecov.io
- uses: codecov/codecov-action@v1

release:
name: Release
runs-on: ubuntu-latest
needs: test
steps:
# Release using semantic-release.
# While this runs on all branches, it will only release latest from master
- uses: codfish/semantic-release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b480351

Please sign in to comment.