Add base webpack testing

This commit is contained in:
John Molakvoæ 2019-12-01 09:37:54 +01:00 committed by GitHub
parent 893b8974a0
commit 764e341c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -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*