Skip to content

Commit caabdd2

Browse files
committed
added code coverage reports to coveralls
1 parent c61e603 commit caabdd2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
on: ["push", "pull_request"]
2-
31
name: Test Coveralls
42

3+
on: ["push", "pull_request"]
4+
55
jobs:
66
build:
77
name: Build
@@ -14,10 +14,13 @@ jobs:
1414
with:
1515
node-version: 20.x
1616

17-
- name: npm install, make test-coverage
17+
- name: npm install, run tests with coverage
1818
run: |
1919
npm install
2020
npm run test:coverage
2121
22-
- name: Upload coverage to Coveralls
23-
uses: coverallsapp/github-action@v2.3.0
22+
- name: Upload coverage to Coveralls
23+
uses: coverallsapp/github-action@v2.3.0
24+
with:
25+
coveralls-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
26+
path-to-lcov: ./coverage/lcov.info

0 commit comments

Comments
 (0)