Closed
Description
Description:
When using a repo with workspaces and the latest node versions (which also bundle more up-to-date npm versions), actions fail because it can't retrieve the cache path.
Updating the action version doesn't change anything. I'm sure this is the same thing as npm/cli#6099 but I'm opening this as I think it fits here too, so people affected by this can find this ticket. Maybe there's also some workaround or you can push a bit the npm team to get this fixed quickier :)
Action version:
v3.5.1
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
node: v18.15.0
yarn: 1.22.19
npm: 9.5.0
Repro steps:
- Create a repository with npm workspaces
- Enable cache for the workflow
- Set a workspace by default, like we did in our .npmrc
Expected behavior:
Cache works as expected and the action succeeds
Actual behavior:
The action halts completely