summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-02 13:18:17 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-04 07:04:29 +0200
commit972279d31b15dfe972eb5c254ed8b56b7d926d72 (patch)
tree076b8f0aff20d98aaf4fbb299f9d353f1f498ea1 /.drone.yml
parentc2c7c2778b3dc1f2b9299fa21c15e191edb89a8c (diff)
downloadnextcloud-server-972279d31b15dfe972eb5c254ed8b56b7d926d72.tar.gz
nextcloud-server-972279d31b15dfe972eb5c254ed8b56b7d926d72.zip
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.drone.yml b/.drone.yml
index 4ead024e5ef..4b60cb32986 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -27,15 +27,16 @@ kind: pipeline
name: webpack-build
steps:
-- name: submodules
- image: docker:git
- commands:
- - git submodule update --init
-- name: webpack-build
+- name: build
image: nextcloudci/node:node-4
commands:
+ - cd /drone/src
- npm ci
- npm run build
+- name: changes
+ image: nextcloudci/node:node-4
+ commands:
+ - cd /drone/src
- git status
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"