prune packages at both folders before trying to install

This commit is contained in:
Brendan Forster 2017-02-24 11:41:13 +11:00
parent 2ec3d0b8de
commit 00d3bbb463
2 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,8 @@ cache:
- node_modules
install:
- npm prune
- cd app && npm prune && cd ..
- npm install
script:

View file

@ -27,6 +27,8 @@ install:
- ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
- git submodule update --init --recursive
- npm prune
- cd app && npm prune && cd ..
- npm install
build_script: