Skip to content

Commit 3271858

Browse files
committed
pr fixes coverage 2
1 parent 42e77af commit 3271858

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,22 @@ jobs:
1010
upload-coverage:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run tests with coverage
25+
run: npm run test:unit -- --coverage
26+
1327
- name: Upload to Coveralls
14-
if: always()
1528
uses: coverallsapp/[email protected]
1629
with:
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
30+
github-token: ${{ secrets.GITHUB_TOKEN }}
31+
path-to-lcov: ./coverage/lcov.info

0 commit comments

Comments
 (0)