Skip to content

Commit ed8f918

Browse files
committed
chore(project): Add codecov
1 parent 5cffc2e commit ed8f918

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- run: yarn install
3232
# Build project
3333
- run: yarn build
34+
# Run tests for code coverage
35+
- run: yarn test:cov && codecov
3436
# Release new version
3537
- run: npx semantic-release
3638

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-auth",
3-
"version": "1.0.0",
3+
"version": "0.0.0-semantic-release",
44
"description": "A utility library for React Router v4 for managing authentication based routing",
55
"author": "joelseq",
66
"license": "MIT",
@@ -33,6 +33,7 @@
3333
"babel-preset-env": "^1.6.0",
3434
"babel-preset-react": "^6.24.1",
3535
"babel-preset-stage-0": "^6.24.1",
36+
"codecov": "3.0.0",
3637
"commitizen": "2.9.6",
3738
"cz-conventional-changelog": "2.1.0",
3839
"eslint": "4.19.1",

yarn.lock

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ argparse@^1.0.7:
173173
dependencies:
174174
sprintf-js "~1.0.2"
175175

176+
177+
version "0.0.2"
178+
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
179+
176180
aria-query@^0.7.0:
177181
version "0.7.1"
178182
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.1.tgz#26cbb5aff64144b0a825be1846e0b16cfa00b11e"
@@ -1640,6 +1644,14 @@ code-point-at@^1.0.0:
16401644
version "1.1.0"
16411645
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
16421646

1647+
1648+
version "3.0.0"
1649+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.0.0.tgz#c273b8c4f12945723e8dc9d25803d89343e5f28e"
1650+
dependencies:
1651+
argv "0.0.2"
1652+
request "2.81.0"
1653+
urlgrey "0.4.4"
1654+
16431655
collection-visit@^1.0.0:
16441656
version "1.0.0"
16451657
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
@@ -7575,6 +7587,10 @@ url@^0.11.0:
75757587
punycode "1.3.2"
75767588
querystring "0.2.0"
75777589

7590+
7591+
version "0.4.4"
7592+
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
7593+
75787594
use@^3.1.0:
75797595
version "3.1.0"
75807596
resolved "https://registry.yarnpkg.com/use/-/use-3.1.0.tgz#14716bf03fdfefd03040aef58d8b4b85f3a7c544"

0 commit comments

Comments
 (0)