Use npm ci for webpack builds

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-02-19 08:37:14 +01:00 committed by Roeland Jago Douma
parent 5254c441a6
commit 774b0b3662
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -17,7 +17,7 @@ pipeline:
webpack-build:
image: nextcloudci/node:node-4
commands:
- npm install
- npm ci
- npm run build
- git status
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"