Merge branch 'master' of https://gitea.octiron.soleus.nu/sander/MuDBase

pull/7/head
Sander Vocke 5 years ago
commit 01a5ceac23
  1. 20
      .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 run-script build; cd .. - 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 - name: back-end test
image: node image: node
commands: commands:
- cd server && npm test; cd .. - cd server && npm test; cd ..
Loading…
Cancel
Save