X Tutup
Skip to content

Commit 9782d8c

Browse files
committed
ci(travis): better document before_cache script
1 parent 80764c6 commit 9782d8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cache:
1313
- $HOME/.chrome/chromium
1414

1515
before_cache:
16-
# Undo the pollution of the typescript_next build
17-
- npm install typescript
16+
# Undo the pollution of the typescript_next build before the cache is primed for future use
17+
- if [[ "$MODE" == "typescript_next" ]]; then npm install typescript; fi
1818

1919
env:
2020
global:

0 commit comments

Comments
 (0)
X Tutup