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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.