File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ repo_token : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Original file line number Diff line number Diff line change 11name : Stackpress Types Test Suite
2- on : [push]
2+ on : [" push", "pull_request" ]
33jobs :
44 test :
55 runs-on : ubuntu-latest
1414 - name : Building Code
1515 run : yarn build
1616 - name : Run Tests
17- run : yarn test
18- - name : Update Coverage
19- if : github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
20- uses : we-cli/coverage-badge-action@main
21- with :
22- GITHUB_TOKEN : ${{ secrets.API_TOKEN_GITHUB }}
17+ run : yarn test
Original file line number Diff line number Diff line change 128128.yarn /build-state.yml
129129.yarn /install-state.gz
130130.pnp. *
131+
132+ # coveralls
133+ .coveralls.yml
Original file line number Diff line number Diff line change 11# Stackpress Library
22
3- [ ![ cov] ( https://stackpress.github.io/lib/badges/coverage.svg )] ( https://github.com/stackpress/lib/actions )
4-
53Shared library used across stackpress projects
64
75## Install
Original file line number Diff line number Diff line change 1717 ],
1818 "scripts" : {
1919 "build" : " tsc" ,
20- "test" : " nyc -r text -r json-summary ts-mocha tests/*.test.ts"
20+ "test" : " nyc -r text -r json-summary ts-mocha tests/*.test.ts" ,
21+ "coverage" : " nyc report -r text-lcov|coveralls"
2122 },
2223 "dependencies" : {
2324 "@inquirer/prompts" : " 7.1.0"
2627 "@types/chai" : " 4.3.20" ,
2728 "@types/mocha" : " 10.0.10" ,
2829 "@types/node" : " 22.9.3" ,
30+ "badgen-cli" : " 0.2.0" ,
2931 "chai" : " 4.5.0" ,
32+ "coveralls" : " 3.1.1" ,
3033 "mocha" : " 10.8.2" ,
34+ "mocha-lcov-reporter" : " 1.3.0" ,
3135 "nyc" : " 17.1.0" ,
3236 "ts-mocha" : " 10.0.0" ,
3337 "ts-node" : " 10.9.2" ,
You can’t perform that action at this time.
0 commit comments