Hi I am building a Node app in a pipeline using "npm install". This fetches all dependencies listed in the package.json file and stores them relative to the project base.
Is there a way to clean a pipeline directory and re-use so that the build job does not have to run npm install each time? I guess one way would be to have a previous pipeline do the "npm install" and only run it when the package.json is changed, and then have the main pipeline just copy across the whole directory containing dependencies. Is there a more canonical way to deal with dependencies? NB, I guess this also goes for other languages such as JAR files etc. Many thanks regards Hugh -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
