2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

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
parent e0a2d5890d
commit bdd8752994
3 changed files with 5 additions and 47 deletions
+5 -5
View File
@@ -69,8 +69,8 @@ jobs:
if: matrix.node == 8
- name: Run Coveralls
run: npm run coveralls
if: matrix.node == 8 && 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 == 8
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"