Skip to content

Commit

Permalink
ci: report coverage #12
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Jan 1, 2025
1 parent b4f28c0 commit 022e696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ jobs:
run: npm install
-
name: Check
run: npm run test:coverage
run: npm run test:reporter
-
name: Publish
run:bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"test": "bun test .",
"test:watch": "bun run test --watch",
"test:coverage": "bun run test --coverage",
"test:reporter": "bun run test --coverage --coverage-reporter=lcov --coverage-reporter=text",
"start": "bun run build:example && bun run build:watch",
"build": "bun build --minify --outdir dist --target browser --entry-naming 'gamepadzilla.js' src/main.ts",
"build:watch": "bun build --watch --outdir dist --target browser --entry-naming 'gamepadzilla.js' src/main.ts",
Expand Down

0 comments on commit 022e696

Please sign in to comment.