团队服务:无论如何在构建时缓存node

编程入门 行业动态 更新时间:2024-10-22 22:58:41
本文介绍了团队服务:无论如何在构建时缓存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

本文发布于:2023-11-14 00:06:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1585668.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:缓存   团队   如何在   node

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!