You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the dependency step is overridden to use "yarn install", CircleCI doesn't add `node_modules/.bin` to the path.
Also, the yarn cache directory on CircleCI ends up being `~/.cache/yarn`, not `~/.yarn-cache`
We've set the Yarn version here to reduce the number of moving parts in the build. Although the Yarn install script sets its `PATH`, running from cache requires adding `~/.yarn/bin/` explicitly.
@@ -32,7 +32,7 @@ dependencies:
32
32
fi
33
33
cache_directories:
34
34
- ~/.yarn
35
-
- ~/.yarn-cache
35
+
- ~/.cache/yarn
36
36
```
37
37
38
38
Here, the Yarn install script runs if and only if:
0 commit comments