Closed ImPrankster closed 4 months ago
I have also faced the same issue.
Can confirm this started some time between now and 17:00 UTC yesterday, when it was working fine. I suspect NPM have put out an update which broke it, perhaps relating to the deprecation warning for registry.npmjs.org:
» curl -I https://registry.npmjs.org
HTTP/2 200
date: Thu, 04 Jul 2024 06:13:03 GMT
content-type: application/json
cf-ray: 89dcf7980d501bc4-MAD
cf-cache-status: DYNAMIC
npm-notice: This endpoint is deprecated. Use https://replicate.npmjs.com instead.
server: cloudflare
Edit: I didn't realise we were using v2 rather than v4, which seems to work, so the fix genuinely is "upgrade to v4" :)
updated pnpm/action-setup@v2 => pnpm/action-setup@v4 fix the issue
Duplicate of #135.
The proposed "fix" is a work around and method of going forward provided GitHub workflows can be readily updated and approved. But it does not resolve stuck / failing workflow runs, many of which cannot be triggered again without additional code updates via merge or rebase of each one to pull in the use of the updated workflow action version.
Fixed in 2.4.1 https://github.com/pnpm/action-setup/releases/tag/v2.4.1
Recently when running pnpm/action-setup@v2 in GitHub CI I got this error:
Using node-version 20 It happens during self-install, seems to be a connection problem It started about one day ago