diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..ced26da --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: THCUbTDPbgNhzzNPYyc4XJGbR8jmWzstD diff --git a/package.json b/package.json index 36cf7a6..3822e86 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage --ci --runInBand", - "test:ci": "yarn validate", + "test:ci": "yarn lint && yarn flow && yarn test:cov && yarn add:coveralls", + "add:coveralls": "cat ./coverage/lcov.info | coveralls", "validate": "yarn lint && yarn flow && yarn test" }, "lint-staged": {