Skip to content

Commit 000d79a

Browse files
committed
Cache Yarn and npm instead of our own node_modules
1 parent 969fb37 commit 000d79a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

appveyor.cleanup-cache.txt

-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@ Edit this file to trigger a cache rebuild.
22
http://help.appveyor.com/discussions/questions/1310-delete-cache
33

44
----
5-
6-
bump
7-
cya

appveyor.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ environment:
1919
- nodejs_version: 8
2020
test_suite: "kitchensink-eject"
2121
cache:
22-
- node_modules -> appveyor.cleanup-cache.txt
23-
- packages\react-scripts\node_modules -> appveyor.cleanup-cache.txt
22+
- '%APPDATA%\npm-cache -> appveyor.cleanup-cache.txt'
23+
- '%LOCALAPPDATA%\Yarn -> appveyor.cleanup-cache.txt'
2424

2525
clone_depth: 50
2626

@@ -46,4 +46,5 @@ test_script:
4646
- node --version
4747
- npm --version
4848
- yarn --version
49+
- yarn cache dir
4950
- bash tasks/e2e-%test_suite%.sh

0 commit comments

Comments
 (0)