codecov integration
This commit is contained in:
parent
037f68858d
commit
c6285944a1
4 changed files with 6 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -32,3 +32,5 @@ jobs:
|
|||
run: npm run build
|
||||
- name: Test
|
||||
run: npm run test
|
||||
- name: Upload Coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
**Strongly-typed official Misskey SDK for browsers/Node.js.**
|
||||
|
||||
[![Test](https://github.com/misskey-dev/misskey.js/actions/workflows/test.yml/badge.svg)](https://github.com/misskey-dev/misskey.js/actions/workflows/test.yml)
|
||||
[![codecov](https://codecov.io/gh/misskey-dev/misskey.js/branch/develop/graph/badge.svg?token=PbrTtk3nVD)](https://codecov.io/gh/misskey-dev/misskey.js)
|
||||
|
||||
[![NPM](https://nodei.co/npm/misskey-js.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/misskey-js)
|
||||
|
||||
|
|
2
codecov.yml
Normal file
2
codecov.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
codecov:
|
||||
token: d55e1270-f20a-4727-aa05-2bd57793315a
|
|
@ -8,7 +8,7 @@
|
|||
"build": "npm run tsc",
|
||||
"tsc": "tsc",
|
||||
"tsd": "tsd",
|
||||
"jest": "jest --detectOpenHandles",
|
||||
"jest": "jest --coverage --detectOpenHandles",
|
||||
"test": "npm run jest && npm run tsd"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Reference in a new issue