Skip to content

Commit 3a51e86

Browse files
committed
Switch to the Coveralls Action
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
1 parent 3f4babb commit 3a51e86

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
4949

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

0 commit comments

Comments
 (0)