diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-25 09:46:40 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-25 09:46:40 +0900 |
| commit | c6285944a12fc8d13d60da0d0ff817db3c2c25fb (patch) | |
| tree | 1bd8ab216644a6116f4039cbef497ad110dac747 | |
| parent | fix type (diff) | |
| download | misskey-c6285944a12fc8d13d60da0d0ff817db3c2c25fb.tar.gz misskey-c6285944a12fc8d13d60da0d0ff817db3c2c25fb.tar.bz2 misskey-c6285944a12fc8d13d60da0d0ff817db3c2c25fb.zip | |
codecov integration
| -rw-r--r-- | .github/workflows/test.yml | 2 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | codecov.yml | 2 | ||||
| -rw-r--r-- | package.json | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1fda601290..630ee1cf59 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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.** [](https://github.com/misskey-dev/misskey.js/actions/workflows/test.yml) +[](https://codecov.io/gh/misskey-dev/misskey.js) [](https://www.npmjs.com/package/misskey-js) diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..5242987213 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +codecov: + token: d55e1270-f20a-4727-aa05-2bd57793315a diff --git a/package.json b/package.json index e5c16b16e0..891803620b 100644 --- a/package.json +++ b/package.json @@ -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": { |