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
1 changed files with 1 additions and 1 deletions

View File

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