diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-12-01 11:37:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-01 11:37:54 +0300 |
commit | 764e341c6163d6a18a09da4e52292b47a806e37f (patch) | |
tree | 7f5f756e765d8bbd76ef64afabe2582f437040ac /.drone.yml | |
parent | 893b8974a091af019681cd7669133287edac5655 (diff) |
Add base webpack testing
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..44410662 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,19 @@ +kind: pipeline +name: webpack + +steps: + - name: build + image: nextcloudci/node:node-4 + commands: + - npm ci + - npm run build + - name: changes + image: nextcloudci/node:node-4 + commands: + - git status + - bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )" + +trigger: + branch: + - master + - stable* |