File tree Expand file tree Collapse file tree 4 files changed +30
-5
lines changed Expand file tree Collapse file tree 4 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 1+ coverage :
2+ status :
3+ patch :
4+ default :
5+ target : 90%
6+ project :
7+ default :
8+ target : auto
9+ threshold : 2%
10+ comment :
11+ layout : ' diff, flags, files'
12+ behavior : new
13+ require_changes : false
Original file line number Diff line number Diff line change 11name : CI
2- on : [push, pull_request ]
2+ on : [push]
33jobs :
44 build :
5- name : Test
5+ name : CI
66 runs-on : ubuntu-latest
77 steps :
88 - uses : actions/checkout@v2
9- - uses : borales/actions-yarn@v2.3.0
9+ - name : set node.js 16.x
10+ uses : actions/setup-node@v3
11+ with :
12+ node-version : 16.x
13+ - uses : borales/actions-yarn@v4
1014 with :
1115 cmd : install
12- - uses : borales/actions-yarn@v2.3.0
16+ - uses : borales/actions-yarn@v4
1317 with :
1418 cmd : check:all
19+ - name : Code coverage report
20+ uses : codecov/codecov-action@v2
21+ with :
22+ yml : ./codecov.yml
23+ token : ${{ secrets.CODECOV_TOKEN }}
24+ flags : unittest
25+ name : codecov
Original file line number Diff line number Diff line change 11![ action status] ( https://github.com/yeonjuan/parse-git-diff/actions/workflows/main.yml/badge.svg?branch=main )
22[ ![ npm version] ( https://badge.fury.io/js/parse-git-diff.svg )] ( https://www.npmjs.com/package/parse-git-diff )
33[ ![ license] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( ./LICENSE )
4+ [ ![ codecov] ( https://codecov.io/gh/yeonjuan/parse-git-diff/branch/main/graph/badge.svg?token=J1FUY9P07I )] ( https://codecov.io/gh/yeonjuan/parse-git-diff )
45
56# parse-git-diff
67
Original file line number Diff line number Diff line change 99 "prepublish" : " yarn build" ,
1010 "build" : " rimraf build && rollup -c rollup.config.js && tsc --declaration" ,
1111 "format" : " prettier . --write" ,
12- "test" : " jest" ,
12+ "test" : " jest --coverage " ,
1313 "prebuild" : " yarn check:all" ,
1414 "publish:demo" : " gh-pages -d demo" ,
1515 "check:all" : " prettier --check . && tsc --noEmit && yarn test" ,
You can’t perform that action at this time.
0 commit comments