I have the following gitlab ci yaml file:
image: steveedson/ci stages: - build cache: untracked: true key: "$CI_PROJECT_ID" paths: - node_modules/ - _site/vendor/ - .bundled/ - .yarn build: stage: build script: - ls -l - yarn config set cache-folder .yarn - yarn install - ...
When my successful builds finish, they show:
Creating cache 1970478... Created cache
And when the next commit triggers a build, I get:
Checking cache for 1970478... Successfully extracted cache
ls -l in my first step doesn’t show the cached directories. I’ve tried caching the cache key but this doesn’t help.
This is running on gitlab.com, not a private server.