Skip to content

Commit

Permalink
ci: setup semantic-release env
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Bertram committed Jun 15, 2020
1 parent c765bcf commit c5fd941
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,38 @@ jobs:
flag-name: run-${{ matrix.node-version }}
parallel: true

finish:
coverage:
needs: build-and-test

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

release:
needs: build-and-test

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Download build artifacts
uses: actions/download-artifact@v1
with:
name: build-14.x

- name: Semantic Release
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

0 comments on commit c5fd941

Please sign in to comment.