Open imteekay opened 2 years ago
I'm running this plugin in our CI (drone v0.8) but it seems that it doesn't cache the node modules folder.
My pipeline looks like this:
restore-cache: image: drillster/drone-volume-cache restore: true cache_key: [DRONE_REPO_OWNER, DRONE_REPO_NAME, DRONE_BRANCH] mount: - ./node_modules volumes: - /tmp/cache install: image: node:14.15.4 commands: - npm install rebuild-cache: image: drillster/drone-volume-cache rebuild: true cache_key: [DRONE_REPO_OWNER, DRONE_REPO_NAME, DRONE_BRANCH] mount: - ./node_modules volumes: - /tmp/cache
In the first commit, I get this from the rebuild-cache step
rebuild-cache
Rebuilding cache for folder ./node_modules...
In the second commit, I get a No cache for ./node_modules.
No cache for ./node_modules
Am I missing anything here in these steps?
It looks like it should work. Did you check the contents of the cache folder (/tmp/cache)?
I'm running this plugin in our CI (drone v0.8) but it seems that it doesn't cache the node modules folder.
My pipeline looks like this:
In the first commit, I get this from the
rebuild-cache
stepIn the second commit, I get a
No cache for ./node_modules
.Am I missing anything here in these steps?