From 112ae121be2e961cab375ec73d2cf4b30d1aab8e Mon Sep 17 00:00:00 2001 From: Filippo Tortomasi Date: Fri, 8 May 2020 19:00:48 +0200 Subject: [PATCH] Fix appveyor install script --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 84b2fddc..39f76ab1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,7 @@ image: Visual Studio 2015 # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: - ps: Install-Product node $env:nodejs_version x64 - - ps: npm ci -g npm@6.11.3 + - ps: npm install -g npm@6.11.3 - set PATH=%programfiles(x86)%\\Microsoft SDKs\TypeScript\2.4;%PATH% - appveyor DownloadFile https://github.com/fttx/barcode-to-pc-server/blob/master/electron/electron-resources/Bonjour64.msi?raw=true @@ -37,9 +37,9 @@ install: - curl -fsSL -o C:\Certificates.p12 %CERTIFICATE_DOWNLOAD% - npm cache verify - - npm install --unsafe-perm + - npm ci --unsafe-perm - cd ionic - - npm install --unsafe-perm + - npm ci --unsafe-perm - cd .. - set NODE_ENV=production # - set PATH=%APPDATA%\npm;%PATH%