From 00a71914e1c1c6bfeff2822c36cdacc8c08250de Mon Sep 17 00:00:00 2001 From: Waren Gonzaga Date: Mon, 23 Mar 2020 20:04:40 +0800 Subject: [PATCH 1/2] Add .circleci/config.yml --- .circleci/config.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..4a8a9e2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,17 @@ +version: 2.1 +orbs: + node: circleci/node@1.1.6 +jobs: + build-and-test: + executor: + name: node/default + steps: + - checkout + - node/with-cache: + steps: + - run: npm install + - run: npm test +workflows: + build-and-test: + jobs: + - build-and-test \ No newline at end of file From acafc4a922f809ef3574ade1a85f616d0d517e6d Mon Sep 17 00:00:00 2001 From: Waren Gonzaga Date: Mon, 23 Mar 2020 20:13:11 +0800 Subject: [PATCH 2/2] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a8a9e2..4d4fc43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,8 +10,7 @@ jobs: - node/with-cache: steps: - run: npm install - - run: npm test workflows: build-and-test: jobs: - - build-and-test \ No newline at end of file + - build-and-test