Skip to content

Commit fae7cd0

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 9c54d35 commit fae7cd0

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
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"

package-lock.json

Lines changed: 0 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"scripts": {
2121
"start": "npm-run-all --parallel watch docs-serve",
2222
"bundlesize": "bundlesize",
23-
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
2423
"css": "npm-run-all css-compile css-prefix css-minify",
2524
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/",
2625
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
@@ -96,7 +95,6 @@
9695
"babel-plugin-istanbul": "^5.2.0",
9796
"bundlesize": "^0.18.0",
9897
"clean-css-cli": "^4.3.0",
99-
"coveralls": "^3.0.6",
10098
"cross-env": "^6.0.3",
10199
"eslint": "^6.5.1",
102100
"eslint-config-xo": "^0.27.1",

0 commit comments

Comments
 (0)