Vite Task stores its cache under node_modules/.vite/task-cache.
This is fine for package-manager store caches, such as actions/setup-node with cache: pnpm, because those caches usually store downloaded packages or the package-manager store, not node_modules itself.
It can be confusing or risky for workflows that cache node_modules directly. Those caches may also include node_modules/.vite/task-cache, which mixes dependency cache data with Vite Task cache data and can make restore order harder to reason about.
Vite Task stores its cache under
node_modules/.vite/task-cache.This is fine for package-manager store caches, such as
actions/setup-nodewithcache: pnpm, because those caches usually store downloaded packages or the package-manager store, notnode_modulesitself.It can be confusing or risky for workflows that cache
node_modulesdirectly. Those caches may also includenode_modules/.vite/task-cache, which mixes dependency cache data with Vite Task cache data and can make restore order harder to reason about.