1
0
forked from mirror/misskey

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 run: npm run build
- name: Test - name: Test
run: npm run 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.** **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) [![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) [![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", "build": "npm run tsc",
"tsc": "tsc", "tsc": "tsc",
"tsd": "tsd", "tsd": "tsd",
"jest": "jest --detectOpenHandles", "jest": "jest --coverage --detectOpenHandles",
"test": "npm run jest && npm run tsd" "test": "npm run jest && npm run tsd"
}, },
"repository": { "repository": {