File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
- name : Code Coverage
2
-
1
+ name : ' coverage'
3
2
on :
4
- pull_request :
5
- branches :
6
- - master
7
- - main
8
-
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ - main
9
7
jobs :
10
- coverage :
11
- runs-on : ubuntu-latest
12
- env :
13
- CI_JOB_NUMBER : 1
14
- steps :
15
- - uses : actions/checkout@v2
16
- - run : npm install
17
- - run : npm run install:plugins
18
- -
uses :
artiomtr/[email protected]
19
- with :
20
- github_token : ${{ secrets.GITHUB_TOKEN }}
21
- test_script : npm run test:jest
8
+ coverage :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - run : npm install
13
+ - run : npm run install:plugins
14
+ - uses : ArtiomTr/jest-coverage-report-action@v2
15
+ id : coverage
16
+ with :
17
+ output : report-markdown
18
+ test-script : npm run test:jest
19
+ - uses : marocchino/sticky-pull-request-comment@v2
20
+ with :
21
+ message : ${{ steps.coverage.outputs.report }}
You can’t perform that action at this time.
0 commit comments