From 000d79af6ffc14f9d8fabbab7aae338b43355276 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 26 Sep 2018 00:01:04 -0400 Subject: [PATCH] Cache Yarn and npm instead of our own node_modules --- appveyor.cleanup-cache.txt | 3 --- appveyor.yml | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/appveyor.cleanup-cache.txt b/appveyor.cleanup-cache.txt index 0f38cbd7e0c..d48a91fdf35 100644 --- a/appveyor.cleanup-cache.txt +++ b/appveyor.cleanup-cache.txt @@ -2,6 +2,3 @@ Edit this file to trigger a cache rebuild. http://help.appveyor.com/discussions/questions/1310-delete-cache ---- - -bump -cya diff --git a/appveyor.yml b/appveyor.yml index cc66be280c5..84434aeed04 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,8 +19,8 @@ environment: - nodejs_version: 8 test_suite: "kitchensink-eject" cache: - - node_modules -> appveyor.cleanup-cache.txt - - packages\react-scripts\node_modules -> appveyor.cleanup-cache.txt + - '%APPDATA%\npm-cache -> appveyor.cleanup-cache.txt' + - '%LOCALAPPDATA%\Yarn -> appveyor.cleanup-cache.txt' clone_depth: 50 @@ -46,4 +46,5 @@ test_script: - node --version - npm --version - yarn --version + - yarn cache dir - bash tasks/e2e-%test_suite%.sh