Explorar el Código

ci: cache ~/.npm and use latest npm

Renée Kooi hace 6 años
padre
commit
2410636484
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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