DEV Community

Discussion on: How to set-up a CI/CD environment on Gitlab using NodeJs

Collapse
 
fabiosangregorio profile image
Fabio

You should NEVER use artifacts to pass dependencies between jobs. Uploading hundreds of MBs just to download them in the next job is a waste of space, time and bandwidth. You should use cache.

Collapse
 
chihab profile image
Chihab Otmani

True.

Cache vs artifacts details the difference between cache and artifacfs. In a nutshell, cache for dependencies, artifacts for the application bundle/artifact/package.