File tree 2 files changed +19
-9
lines changed
2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,21 @@ jobs:
11
11
unit :
12
12
runs-on : macos-latest
13
13
steps :
14
- - uses : actions/checkout@v4
15
- - uses : actions/setup-node@v4
16
- with :
17
- node-version : 20
18
- cache : npm
19
- - name : Install modules
20
- run : npm install
21
- - name : Run tests
22
- run : npm run test -- --coverage
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
16
+ with :
17
+ node-version : 20
18
+ cache : npm
19
+ - name : Install modules
20
+ run : npm install
21
+ - name : Run tests
22
+ run : npm run test -- --coverage
23
+ - name : Upload coverage to Codecov
24
+ uses : codecov/codecov-action@v4
25
+ with :
26
+ files : ./coverage/lcov.info
27
+ flags : unittests
28
+ fail_ci_if_error : false
29
+ verbose : true
30
+ env :
31
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ node_modules/
4
4
/.data /
5
5
gl-prettier-codequality.json
6
6
/.eslintcache
7
+ /coverage /
You can’t perform that action at this time.
0 commit comments