Open
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
https://yarnpkg.com/configuration/yarnrc#globalFolder
It's using ${HOME}\AppData\Local\Yarn\Berry\cache
as globalFolder
on GitHub Actions at least
Related codes:
berry/packages/yarnpkg-core/sources/folderUtils.ts
Lines 5 to 8 in 7553478
To reproduce
https://github.com/yarnpkg/pnp-rs/actions/runs/15401892538/job/43336240063?pr=10#step:6:143
Environment
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M4
Binaries:
Node: 24.1.0 - ~/.tmp/xfs-46bac26b/node
Yarn: 1.22.22 - ~/.tmp/xfs-46bac26b/yarn
npm: 11.3.0 - ~/.local/state/fnm_multishells/63216_1748917204732/bin/npm
pnpm: 10.11.0 - /opt/homebrew/bin/pnpm
bun: 1.2.15 - /opt/homebrew/bin/bun
Additional context
No response