mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-25 15:07:06 -04:00
Previously, `ci: true` (auto-detected or configured) unconditionally set `enableGlobalVirtualStore` to `false`, even when the user had explicitly enabled it in `pnpm-workspace.yaml` or via CLI. This forced users to add `ci: false` as a workaround in their workspace config whenever they wanted GVS in CI-like environments (Nix builds, CI systems with persistent caches, Docker multistage builds). Now, the CI override only applies when `enableGlobalVirtualStore` was not explicitly set (i.e., is `null` or `undefined`). This preserves the default behavior for ephemeral CI while respecting explicit user configuration. Also removes the `ci: false` workarounds from existing tests that were documenting this limitation. Co-authored-by: Zoltan Kochan <z@kochan.io>