Skip to content

Commit

Permalink
chore: add mode to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simllll committed Feb 22, 2023
1 parent be11439 commit 88d2c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The possible inputs for this action are:
| `monorepo-base-path` (**Required**) | The location of your monrepo `packages` path | |
| `s3-config` | Configuration for uploading lcov files to s3. Json Encoded. e.g. '{ credentials: { accessKeyId: "", secretAccessKey: "" }, region: "", Bucket: "repository-code-coverage" }' | |
| `threshold` | Sets the threshold before the action fails if coverage of a package decreases | 0.05% |
| `mode` | collect: upload lcov files to s3, report: generate report, merge: set new base | (auto) |

## Examples

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
description: 'minimum threshold (in %) before the action fails, default is 0.05%'
required: false
mode:
description: 'overwrite mode manually: merge (on merge) | generate (upload tmp files) | report (generate report), if not specified it combiens generate and report in one step'
description: 'overwrite mode manually: collect (upload tmp files) | report (generate report) | merge (on merge)'
required: false
runs:
using: node16
Expand Down

0 comments on commit 88d2c61

Please sign in to comment.