I have a Worker connected to a repository on Github, using a monorepo structure.
The .next/cache build cache is working correctly (build output cache).
However, the dependency build cache (.pnpm-store) does not seem to work properly.
At the beginning of the log, I see that the build restores the dependency cache and the build output:
>> 2025-05-18T14:51:17.844Z Restoring from dependencies cache >> 2025-05-18T14:51:17.849Z Restoring from build output cache >> 2025-05-18T14:51:18.163Z Success: Dependencies restored from build cache. >> 2025-05-18T14:51:18.732Z Success: Build output restored from build cache.
However, the pnpm install time always remains the same, it never decreases. I understand that in the second execution, it should be practically zero (considering that there were no changes):
2025-05-18T14:51:47.886Z Done in 26.4s using pnpm v10.10.0
At the end of the log, I only see the upload of the build output cache. It does not mention anything about dependency cache: