generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 46
/
action.yml
31 lines (31 loc) · 1.01 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Jest Coverage Diff'
description: 'A github action to comment jest coverage diff on a PR'
author: 'Anuraag Puri'
inputs:
accessToken:
description: 'access token required to comment on a pr'
default: ${{ github.token }}
fullCoverageDiff:
description: 'get the full coverage with diff or only the diff'
default: false
runCommand:
description: 'custom command to get json-summary'
default: 'npx jest --coverage --coverageReporters="json-summary" --coverageDirectory="./"'
afterSwitchCommand:
description: 'command to run after switching to default branch'
default: null
delta:
description: 'Difference between the old and final test coverage'
default: 100
total_delta:
description: 'Difference between the old and final test coverage at the total level'
default: null
useSameComment:
description: 'While commenting on the PR update the exisiting comment'
default: false
branding:
color: red
icon: git-pull-request
runs:
using: 'node12'
main: 'dist/index.js'