community-plugins | 3rd party , community contributed plugins for Converse.js | Awesome List library
kandi X-RAY | community-plugins Summary
kandi X-RAY | community-plugins Summary
This repo contains community contributed plugins, not included in the core of Converse.js.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of community-plugins
community-plugins Key Features
community-plugins Examples and Code Snippets
Community Discussions
Trending Discussions on community-plugins
QUESTION
I am running a self-hosted agent (Windows Server) and I am trying to reduce my pipeline build time by caching my node_modules. However, restoring the node_modules cache takes just as long as installing the packages from scratch. Also, looking at the log it gives me the impression that it is downloading/uploading the cache externally, rather than keeping the cache on the VM. If this is true, then my caching of the node_modules would result in transferring ~1GB of data on every build.
What am I doing wrong?
My goal is to simply maintain/keep the node_modules between builds on my self-hosted agent for the following reasons:
- To prevent installing the node_modules everytime
- To keep the node_modules/.cache folder for computational caching purposes
ANSWER
Answered 2021-Feb-02 at 02:16You cache the node_modules
to $(System.DefaultWorkingDirectory)/node_modules
, the path should be _\agent_work\1\s\node_modules
. The self-hosted agent will run execute git clean -ffdx && git reset --hard HEAD
before fetching, it will delete the folder node_modules
and install the node_modules
everytime. check this doc for more details.
We need add the code - checkout: self clean: false
at the steps level.
YAML definition
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install community-plugins
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page