本文介绍了团队服务:无论如何在构建时缓存node_modules?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
像Travis CI和Appveyor这样的服务允许目录(例如node_modules)成为缓存 - 如果没有任何更改,可以更快地进行后续构建。
这可以做在Visual Studio Team Services中,通过类似配置或类似的方式?
目前,在7分钟的构建中,4分钟是由于npm安装步骤(很少更改)>
非常感谢任何评论或帮助!
解决方案我认为这不可用,您可能需要添加它用户语音: $ visualstudio.uservoice/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: visualstudio.uservoice/forums/121579-visual-studio-2015更多推荐
团队服务:无论如何在构建时缓存node
发布评论