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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user