codecov integration

This commit is contained in:
syuilo 2021-06-25 09:46:40 +09:00
parent 037f68858d
commit c6285944a1
4 changed files with 6 additions and 1 deletions

View file

@ -32,3 +32,5 @@ jobs:
run: npm run build
- name: Test
run: npm run test
- name: Upload Coverage
uses: codecov/codecov-action@v1

View file

@ -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
View file

@ -0,0 +1,2 @@
codecov:
token: d55e1270-f20a-4727-aa05-2bd57793315a

View file

@ -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": {