Closed catdad closed 7 years ago
It's a minute and a half faster overall... I guess that's something. Of course, I have a few select builds that have completed in 6m23s on their own, without the cache, so there is that.
Searching around though, I see that the appveyor cache seems to destabilize builds more than on other agents.
AppVeyor builds have been painfully slow, so when I do a lot of development, there is a ton of waiting around to merge PRs. This is annoying af.
To try to address this, I have added the
node_modules
folder to the cache. I have also addednpm prune
andnpm upgrade
to the script, to make sure thatnode_modules
is cleaned up and updated, while hopefully working much faster. This should be safe enough, but I will be keeping an eye... and maybe trying to figure out how to clear the cache periodically.This should hopefully make multiple builds in quick succession run much faster. Let's see how this goes. I hope it doesn't turn out to be a huge pain.