File tree Expand file tree Collapse file tree 3 files changed +73
-1
lines changed Expand file tree Collapse file tree 3 files changed +73
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,17 @@ jobs:
114114 - name : Unit Test
115115 run : pnpm test
116116
117+ - name : Coverage
118+ run : pnpm coverage
119+
120+ - name : Upload Report to Coveralls
121+ uses : coverallsapp/github-action@v2.3.0
122+ with :
123+ github-token : ${{ secrets.GITHUB_TOKEN }}
124+ flag-name : Unit Test
125+ parallel : true
126+
127+
117128 build :
118129 needs : setup
119130 runs-on : ubuntu-latest
@@ -139,4 +150,14 @@ jobs:
139150 key : node_modules-${{ hashFiles('**/pnpm-lock.yaml') }}
140151
141152 - name : Build
142- run : pnpm build
153+ run : pnpm build
154+
155+ finish :
156+ needs : unit-test
157+ runs-on : ubuntu-latest
158+ steps :
159+ - name : Coveralls Finished
160+ uses : coverallsapp/github-action@v2
161+ with :
162+ parallel-finished : true
163+ carryforward : " run-1,run-2"
You can’t perform that action at this time.
0 commit comments