Skip to content

Commit 52808f3

Browse files
committed
Coveralls
1 parent 5c70de9 commit 52808f3

File tree

3 files changed

+14
-263
lines changed

3 files changed

+14
-263
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
run: yarn lint
2525

2626
- name: Run Tests
27-
run: yarn test:ci
27+
run: yarn test
28+
29+
- name: Coveralls
30+
uses: coverallsapp/github-action@master
31+
with:
32+
github-token: ${{ secrets.COVERALLS_GITHUB_TOKEN }}
2833

2934
- name: Build
3035
run: yarn build

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "yarn clean && yarn babel && rollup -c",
2020
"babel": "babel src -d build --copy-files --no-copy-ignored",
2121
"lint": "eslint src/",
22-
"test:ci": "yarn test --coverage --coverageReporters=text-lcov | coveralls",
22+
"test:ci": "yarn test --coverage --coverageReporters=text-lcov",
2323
"test": "jest"
2424
},
2525
"devDependencies": {
@@ -37,7 +37,6 @@
3737
"babel-jest": "^27.1.0",
3838
"benchmark": "^2.1.4",
3939
"benchmarkjs": "^0.1.8",
40-
"coveralls": "^3.1.1",
4140
"eslint": "^7.32.0",
4241
"eslint-config-prettier": "^8.3.0",
4342
"eslint-import-resolver-typescript": "^2.4.0",

0 commit comments

Comments
 (0)