Use npm ci to match package-lock.json
This commit is contained in:
parent
fb2390b2cd
commit
65d907d177
@ -1,10 +1,8 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 8
|
- 8
|
||||||
cache:
|
cache: npm
|
||||||
directories:
|
|
||||||
- app/node_modules
|
|
||||||
before_script:
|
before_script:
|
||||||
- cd $TRAVIS_BUILD_DIR/app && npm install
|
- cd $TRAVIS_BUILD_DIR/app && npm ci
|
||||||
script:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR/app && npm test
|
- cd $TRAVIS_BUILD_DIR/app && npm test
|
||||||
|
Loading…
Reference in New Issue
Block a user