Skip to content

Commit

Permalink
ci: upload coverage to coveralls (#446)
Browse files Browse the repository at this point in the history
* ci: upload coverage to coveralls

* fix path to lcov file
  • Loading branch information
grdsdev authored Dec 17, 2024
1 parent 9ef7649 commit ff9421c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: ['18']
node: ["18"]

runs-on: ${{ matrix.os }}

Expand All @@ -34,3 +34,8 @@ jobs:
run: |
npm ci
npm run ci
- name: Upload coverage results to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineConfig({
'./example/*',
'./docs/*',
],
reporter: ['lcov']
},
environment: 'jsdom',
},
Expand Down

0 comments on commit ff9421c

Please sign in to comment.