mirror of https://github.com/nextcloud/photos
20 lines
388 B
YAML
20 lines
388 B
YAML
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*
|