diff options
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 11 |
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 )" |