diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..a99e5a64 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +kind: pipeline +name: build + +steps: + - name: webpack-build + image: nextcloudci/node:node-4 + commands: + - npm ci + - NODE_ENV=production ./node_modules/.bin/webpack + - git status + - bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )" + +trigger: + branch: + - master + - stable* +