Skip to content

Commit 1b1e598

Browse files
committed
Added codecov for circleci
1 parent e898b19 commit 1b1e598

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: 2.1
2+
orbs:
3+
codecov: codecov/[email protected]
24
jobs:
35
build:
46
working_directory: ~/react-forms
@@ -18,6 +20,6 @@ jobs:
1820
- run:
1921
name: test
2022
command: yarn test
21-
- run:
22-
name: code-coverage
23-
command: './node_modules/.bin/nyc report --reporter=text-lcov'
23+
- codecov/upload:
24+
file: coverage/*.json
25+
flags: frontend

0 commit comments

Comments
 (0)