Skip to content

Commit 0dff180

Browse files
committed
🐎 Also cache node_modules and Jest cache on CI
1 parent 23c790e commit 0dff180

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ node_js:
44
- "7"
55
- "6"
66

7-
cache: yarn
7+
cache:
8+
yarn: true
9+
directories:
10+
- node_modules
11+
- jest-cache
812

913
script:
1014
- yarn run lint
11-
- yarn test
15+
- yarn test -- --cacheDirectory="jest-cache"

0 commit comments

Comments
 (0)