Skip to content

Commit d507d81

Browse files
committed
fix(travis): cache ~/.npm, not node_modules
see https://twitter.com/maybekatz/status/905213355748720640
1 parent 845dd4a commit d507d81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/travis.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const log = require('npmlog')
1212
const travisyml = {
1313
language: 'node_js',
1414
cache: {
15-
directories: ['node_modules']
15+
// https://twitter.com/maybekatz/status/905213355748720640
16+
directories: ['~/.npm']
1617
},
1718
notifications: {
1819
email: false

0 commit comments

Comments
 (0)