Lets suppose I have a cache in my .gitlab-ci.yml file:
.gitlab-ci.yml
... cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ - public/ - vendo