Use npm ci instead of npm install (#336)

* dont write server_info.json either - second half of #318

* use npm ci

* update lockfile

* try this
This commit is contained in:
Rich Harris
2018-08-03 01:16:26 -04:00
committed by GitHub
parent eae8351f77
commit 3ce2bd30f9
2 changed files with 2 additions and 2 deletions

View File

@@ -18,4 +18,4 @@ addons:
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm install
- npm ci || npm i

View File

@@ -14,7 +14,7 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version
- npm install
- npm ci
test_script:
- node --version && npm --version