Pārlūkot izejas kodu

ci: cache ~/.npm and use latest npm

Renée Kooi 6 gadi atpakaļ
vecāks
revīzija
2410636484
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  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