团队服务:无论如何在构建时缓存node_modules? [英] Team Services: Is there anyway to cache node_modules when building?

查看:41
本文介绍了团队服务:无论如何在构建时缓存node_modules?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

像Travis CI和Appveyor这样的服务允许目录(例如node_modules)成为缓存 - 如果没有任何更改,可以更快地进行后续构建。


这可以做在Visual Studio Team Services中,通过类似配置或类似的方式?


目前,在7分钟的构建中,4分钟是由于npm安装步骤(很少更改)>


非常感谢任何评论或帮助!

解决方案

我认为这不可用,您可能需要添加它用户语音:
$


https://visualstudio.uservoice.com/forums/121579-visual-studio-2015

Services like Travis CI and Appveyor allow directories, such as node_modules, to be caches - allowing for much quicker subsequent builds if nothing has changed.

Is this possible to do in Visual Studio Team Services, by way of something like a config or similar?

At the moment, out of a 7 minute build, 4 minutes of this is due to the npm install step (which rarely changes)>

Any comments or assistance is greatly appreciated!

解决方案

I don't think this is available, you may need to add it on the user voice:

https://visualstudio.uservoice.com/forums/121579-visual-studio-2015


这篇关于团队服务:无论如何在构建时缓存node_modules?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆