Update '.drone.yml'

pull/7/head
Sander Vocke 5 years ago
parent b7a83ba857
commit 15b2103027
  1. 18
      .drone.yml

@ -1,13 +1,12 @@
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: default name: front-end
steps: steps:
- name: install dependencies - name: install dependencies
image: node image: node
commands: commands:
- npm install - npm install
- cd server && npm install; cd ..
- cd client && npm install; cd .. - cd client && npm install; cd ..
- name: front-end build - name: front-end build
@ -15,7 +14,22 @@ steps:
commands: commands:
- cd client && npm build; cd .. - 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 - name: back-end test
image: node image: node
commands: commands:
- cd server && npm test; cd .. - cd server && npm test; cd ..
Loading…
Cancel
Save