From 203420a831ec034d0f18bc73014df8aa223226e7 Mon Sep 17 00:00:00 2001 From: Kermit Date: Wed, 16 Sep 2020 00:47:50 +0800 Subject: [PATCH 1/3] chore(ci): add codecov check --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8eb498605..e4863f608 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,8 @@ jobs: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - - run: npm test -- --coverage + - run: npm test -- --coverage && \ + bash <(curl -s https://codecov.io/bash) compile: docker: - image: circleci/node:latest From a4546274929ce0198e27d2dba423c96fabb3255d Mon Sep 17 00:00:00 2001 From: Kermit Date: Wed, 16 Sep 2020 00:59:14 +0800 Subject: [PATCH 2/3] chore: update ci --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e4863f608..92aa91ddb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,8 +28,7 @@ jobs: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - - run: npm test -- --coverage && \ - bash <(curl -s https://codecov.io/bash) + - run: npm test -- --coverage && sh <(curl -s https://codecov.io/bash) compile: docker: - image: circleci/node:latest From d836ebb2dae5579ffaa57d867ef623fd7e0b3d65 Mon Sep 17 00:00:00 2001 From: Kermit Date: Wed, 16 Sep 2020 01:19:03 +0800 Subject: [PATCH 3/3] update ci --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 92aa91ddb..95b44c28b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,8 @@ jobs: test: docker: - image: circleci/node:latest + environment: + BASH_ENV: "~/.bashrc" working_directory: ~/repo steps: - checkout @@ -28,7 +30,7 @@ jobs: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - - run: npm test -- --coverage && sh <(curl -s https://codecov.io/bash) + - run: npm test -- --coverage && bash <(curl -s https://codecov.io/bash) compile: docker: - image: circleci/node:latest