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:
29
29
30
30
runs :
31
31
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 1
1
{
2
2
"name" : " @glideapps/vitest-v8-json-coverage-summary" ,
3
- "version" : " 0.0.0-india " ,
3
+ "version" : " 0.0.0-papa " ,
4
4
"description" : " A plugin for vitest that generates a coverage summary in json format" ,
5
5
"main" : " index.js" ,
6
6
"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
- },
13
7
"files" : [
14
8
" dist/v8.json.summary.reporter.js" ,
15
9
" dist/v8.json.summary.reporter.d.ts" ,
16
10
" dist/v8.json.summary.reporter.js.map" ,
17
11
" dist/v8.json.summary.reporter.d.ts.map" ,
18
- " action.js" ,
12
+ " github-action/ action.js" ,
19
13
" index.js" ,
20
14
" action.yml" ,
21
15
" example-workflow.yml" ,
You can’t perform that action at this time.
0 commit comments