Use npm ci for webpack builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
5254c441a6
commit
774b0b3662
|
@ -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 )"
|
||||||
|
|
Loading…
Reference in New Issue