File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 2525 id : yarn-cache-dir-path
2626 run : echo "::set-output name=dir::$(yarn cache dir)"
2727
28- - uses : actions/cache@v2
28+ - uses : actions/cache@v4
2929 id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3030 with :
3131 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
4040 run : yarn lint
4141
4242 - name : Test
43- run : yarn test
43+ run : yarn test --coverage
44+
45+ - name : Upload coverage reports to Codecov
46+ uses : codecov/codecov-action@v5
47+ with :
48+ token : ${{ secrets.CODECOV_TOKEN }}
49+ slug : segmentio/tsub-js
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ coverage:
33 status :
44 project :
55 default :
6- informational : true
6+ target : 80%
7+ informational : false
78 patch :
89 default :
9- informational : true
10+ target : 80%
11+ informational : false
You can’t perform that action at this time.
0 commit comments