File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- - v1
8- - v2
97 pull_request :
108 branches :
119 - main
12- - v1
13- - v2
1410
1511jobs :
1612 ci :
2925 - run : pnpm build
3026 - run : pnpm vitest --coverage
3127 - uses : codecov/codecov-action@v4
28+ with :
29+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11# 🌳 rou3
22
3- <!-- automd:badges -->
3+ <!-- automd:badges codecov -->
44
55[ ![ npm version] ( https://img.shields.io/npm/v/rou3 )] ( https://npmjs.com/package/rou3 )
66[ ![ npm downloads] ( https://img.shields.io/npm/dm/rou3 )] ( https://npmjs.com/package/rou3 )
7+ [ ![ codecov] ( https://img.shields.io/codecov/c/gh/unjs/rou3 )] ( https://codecov.io/gh/unjs/rou3 )
78
89<!-- /automd -->
910
Original file line number Diff line number Diff line change 3333 "lint:fix" : " automd && eslint --fix . && prettier -w src tests benchmark" ,
3434 "playground" : " pnpm jiti ./playground.ts" ,
3535 "release" : " pnpm test && pnpm build && changelogen --release && git push --follow-tags && npm publish" ,
36- "test" : " pnpm lint && pnpm test:types && vitest run" ,
36+ "test" : " pnpm lint && pnpm test:types && vitest run --coverage " ,
3737 "test:types" : " tsc --noEmit"
3838 },
3939 "devDependencies" : {
Original file line number Diff line number Diff line change 1+ import { defineConfig } from "vitest/config" ;
2+
3+ export default defineConfig ( {
4+ test : {
5+ typecheck : { enabled : true } ,
6+ coverage : {
7+ include : [ "src/**/*.ts" ]
8+ } ,
9+ } ,
10+ } ) ;
You can’t perform that action at this time.
0 commit comments