diff --git a/.drone.yml b/.drone.yml index b91b134..e7f7a1d 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 run-script 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