Skip to content

Commit 3fa0599

Browse files
authored
Updated CI scripts to clean npm cache (#228)
1 parent 4932c1a commit 3fa0599

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ before_install:
1111
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm
1212
&& git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
1313
install $TRAVIS_NODE_VERSION
14-
- node --version
14+
- node --version
15+
- npm --version
16+
- npm cache clean
17+
- npm install -g npm@3
1518
install:
1619
- npm install
1720
script:

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ environment:
77

88
install:
99
- ps: Install-Product node $env:nodejs_version
10+
- npm cache clean
11+
- npm install -g npm@3
1012
- npm install
1113

1214
build: off

0 commit comments

Comments
 (0)