Is is possible to configure a cache that will work for packages installed with `yarn global`?
I have tried the following, however the packages were not found when run after cache download:
image: node:9
pipelines:
default:
# Lint
- step:
name: Linting
caches:
- yarnglobal
script:
- yarn global add eslint eslint-plugin-react babel-eslint
- yarn lint
definitions:
caches:
yarnglobal: /usr/local/share/.config/yarn/global