Switch to the Coveralls Action (#29478)

This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
This commit is contained in:
XhmikosR 2019-11-18 21:03:43 +02:00 committed by GitHub
parent eedf568b00
commit 099860d727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 39 deletions

View file

@ -48,8 +48,8 @@ jobs:
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
- name: Run Coveralls
run: npm run coveralls
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
uses: coverallsapp/github-action@master
if: matrix.node == 10
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"