Ver código fonte

ci: cache ~/.npm and use latest npm

Renée Kooi 6 anos atrás
pai
commit
2410636484
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      .travis.yml

+ 3 - 2
.travis.yml

@@ -15,8 +15,9 @@ addons:
 cache:
   apt: true
   directories:
-  - node_modules
-  - website/node_modules
+  - ~/.npm
+before_install:
+- nvm install-latest-npm
 script:
 - npm run web:install
 - npm run build