I’ve read the docs but cannot find a full example yml file of how to configure Drone for caching.
I have the following:
--- cache: mount: - node_modules - .git pipeline: build: commands: - yarn - "yarn bootstrap" - "yarn build" - "yarn test" image: "node:8"
But get the error “Failed to unmarshal Stringorslice”
Can someone please post a working config?