clone: git: image: plugins/git depth: 1 pipeline: vue-build: image: nextcloudci/node:node-4 commands: - find js/ -type f -delete - npm install - npm run build - git status - bash -c "[[ ! \"`git status --porcelain js/`\" ]] || ( echo 'Uncommited changes in vue build' && exit 1 )" when: matrix: TESTS: vue-build matrix: include: - TESTS: vue-build branches: [ master, stable* ]