File tree Expand file tree Collapse file tree 3 files changed +25
-9
lines changed Expand file tree Collapse file tree 3 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ inputs:
2929
3030runs :
3131 using : " node20"
32- main : " action.js"
32+ main : " github-action/ action.js"
Original file line number Diff line number Diff line change 1+ # GitHub Action
2+
3+ This folder contains the GitHub Action for vitest coverage reporting.
4+
5+ ## How it works
6+
7+ 1 . ** Reads coverage data** from the JSON file generated by the vitest reporter
8+ 2 . ** Generates a markdown comment** with coverage metrics and visual indicators
9+ 3 . ** Posts/updates the comment** in the pull request
10+
11+ ## Files
12+
13+ - ` action.js ` - The bundled ESM action code (built with ncc)
14+ - ` README.md ` - This file
15+
16+ ## Usage
17+
18+ ``` yaml
19+ -
uses :
glideapps/[email protected] 20+ ` ` `
21+
22+ The action is configured via ` action.yml` in the root directory.
Original file line number Diff line number Diff line change 11{
22 "name" : " @glideapps/vitest-v8-json-coverage-summary" ,
3- "version" : " 0.0.0-india " ,
3+ "version" : " 0.0.0-papa " ,
44 "description" : " A plugin for vitest that generates a coverage summary in json format" ,
55 "main" : " index.js" ,
66 "types" : " dist/v8.json.summary.reporter.d.ts" ,
7- "exports" : {
8- "." : {
9- "import" : " ./index.js" ,
10- "types" : " ./dist/v8.json.summary.reporter.d.ts"
11- }
12- },
137 "files" : [
148 " dist/v8.json.summary.reporter.js" ,
159 " dist/v8.json.summary.reporter.d.ts" ,
1610 " dist/v8.json.summary.reporter.js.map" ,
1711 " dist/v8.json.summary.reporter.d.ts.map" ,
18- " action.js" ,
12+ " github-action/ action.js" ,
1913 " index.js" ,
2014 " action.yml" ,
2115 " example-workflow.yml" ,
You can’t perform that action at this time.
0 commit comments