From f544daf5c8b51408bc073a5c4cd9511209d29f23 Mon Sep 17 00:00:00 2001 From: abbeyoreilly <108762740+abbeyoreilly@users.noreply.github.com> Date: Sun, 31 Jul 2022 14:02:54 -0400 Subject: [PATCH 1/2] Updated config.yml --- .circleci/config.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 857f466a..9706046c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,14 +1,7 @@ -version: 2 +version: 2.1 +orbs: +node: circleci/node@3.0.0 +workflows: +node-tests: jobs: - build: - docker: # tircleci/node:10.0.0 # the primary container, where your job's commands are run - - image: circleci/node:10.0.0 # run in the background - steps: - - checkout # check out the code in the project directory - - run: npm install - - run: npm start & - - run: npm test - - deploy: - name: digital-ocean - command: ssh -o "StrictHostKeyChecking no" root@167.71.166.254"cd ~/circleciexpress; git pull; npm install; npm start &" - \ No newline at end of file +- node/test \ No newline at end of file From 296c0d15716e159d03a0fd03459abbc4a236750f Mon Sep 17 00:00:00 2001 From: abbeyoreilly <108762740+abbeyoreilly@users.noreply.github.com> Date: Sun, 31 Jul 2022 14:22:56 -0400 Subject: [PATCH 2/2] Update config.yml --- .circleci/config.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9706046c..af74758b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,10 @@ -version: 2.1 -orbs: -node: circleci/node@3.0.0 -workflows: -node-tests: +version: 2 jobs: -- node/test \ No newline at end of file + build: + docker: # tircleci/node:10.0.0 # the primary container, where your jobs are run + - image: circleci/node:10.0.0 #run in the background + steps: + - checkout #check out the code in the project directory + - run: npm install + - run: npm start & + - run: npm test