File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11name : " CI: test & build"
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ push :
7+ branches :
8+ - master
9+ - dev
10+ - dev-v6
411
512jobs :
613 build-and-test :
@@ -33,11 +40,17 @@ jobs:
3340 # This runs vitest with coverage enabled
3441 run : yarn test:coverage
3542
36- - name : Upload to Coveralls
37- run : yarn coveralls
38- env :
39- # REQUIRED: The script needs this to know where to upload
40- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
43+ - name : Upload coverage to Coveralls
44+ uses : coverallsapp/github-action@v2
45+ with :
46+ format : lcov
47+ file : ./coverage/lcov.info
48+
49+ # - name: Upload to Coveralls
50+ # run: yarn coveralls
51+ # env:
52+ # # REQUIRED: The script needs this to know where to upload
53+ # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
4154
4255 - name : Build the library
4356 run : yarn build
Original file line number Diff line number Diff line change 5959 "test:watch" : " vitest" ,
6060 "test:ui" : " vitest --ui" ,
6161 "test:coverage" : " vitest run --coverage" ,
62- "coveralls" : " cat ./coverage/lcov.info | coveralls" ,
6362 "lint" : " eslint ." ,
6463 "lint:fix" : " eslint . --fix" ,
6564 "check:prettier" : " prettier -c src/" ,
You can’t perform that action at this time.
0 commit comments