From 15b21030276e6336fcedc6cbc778a3c64380981d Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Fri, 14 Aug 2020 08:53:07 +0000 Subject: [PATCH 1/2] Update '.drone.yml' --- .drone.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index bba996c..796d888 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,12 @@ kind: pipeline type: kubernetes -name: default +name: front-end steps: - name: install dependencies image: node commands: - npm install - - cd server && npm install; cd .. - cd client && npm install; cd .. - name: front-end build @@ -15,7 +14,22 @@ steps: commands: - cd client && npm build; cd .. + --- + +kind: pipeline +type: kubernetes +name: back-end + +steps: +- name: install dependencies + image: node + commands: + - npm install + - cd server && npm install; cd .. + - name: back-end test image: node commands: - - cd server && npm test; cd .. \ No newline at end of file + - cd server && npm test; cd .. + + \ No newline at end of file From 5c250e01eb55ac30dfcf5d25c8cd270855c956ba Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Fri, 14 Aug 2020 09:18:21 +0000 Subject: [PATCH 2/2] Update '.drone.yml' --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 796d888..1f29269 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: commands: - cd client && npm build; cd .. - --- +--- kind: pipeline type: kubernetes