Skip to content

Commit

Permalink
Merge pull request #1 from oxdev03/change-setup-dev-workflow
Browse files Browse the repository at this point in the history
CI: setup code coverage reporting
  • Loading branch information
oxdev03 authored Jun 2, 2024
2 parents 9079ad2 + e177a45 commit 2beb293
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ jobs:
- name: Test Build
run: npm run build
- name: Run tests
run: npm test
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"prebundle": "npm run prebuild",
"bundle": "tsup src/index.ts --format cjs,esm --dts --clean",
"test": "vitest",
"test:coverage": "vitest --coverage",
"bench": "vitest bench",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
Expand Down

0 comments on commit 2beb293

Please sign in to comment.