From 3ce2bd30f9881a5d2236cdd687e2a966bd548304 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 3 Aug 2018 01:16:26 -0400 Subject: [PATCH] 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 --- .travis.yml | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ecadbd6..a8a45d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 3794b22..e19f81a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ environment: install: - ps: Install-Product node $env:nodejs_version - - npm install + - npm ci test_script: - node --version && npm --version