Saturday, 14 December 2019

NodeJS CI/CD Build Missing Files

I am setting up CI/CD for a NodeJS project and occasionally the developer forgets to send up a file (module) to source control. I run npm ci and npm test without problem and the application gets deployed to my server. However, it will error out once executed due to the missing module.

Is there a best practice for ensuring that all files required by a node application are available before allowing it to be deployed?



from NodeJS CI/CD Build Missing Files

No comments:

Post a Comment