Closed
Description
Description:
The Setup Node.js action fails with Error: Cache service responded with 422
. This was not happening until today and now it happens on the three existing repos I tried, plus the new minimal repro linked below. Using cache: 'npm'
. Full log:
Run actions/setup-node@v2
Found in cache @ /opt/hostedtoolcache/node/22.14.0/x64
/opt/hostedtoolcache/node/22.14.0/x64/bin/npm config get cache
/home/runner/.npm
Error: Cache service responded with 422
Action version:
v2
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
node v22.14.0 on ubuntu locally, "22" in GitHub runner.
Repro steps:
https://github.com/bhaugeea/tmp
Expected behavior:
Until now the CI job in the repro succeeded.
Actual behavior:
Node-setup errors on an npm cache interaction.