Description
Description:
setup-node fails with an error
Run actions/setup-node@v2
with:
node-version: 16
cache: pnpm
cache-dependency-path: **/pnpm-lock.yaml
always-auth: false
check-latest: false
token: ***
Found in cache @ /opt/hostedtoolcache/node/16.13.0/x64
/opt/hostedtoolcache/node/16.13.0/x64/bin/pnpm store path
/home/runner/.pnpm-store/v3
Error: getCacheEntry failed: Cache service responded with 500
Action version:
setup-node@v2
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
node 14 + 16
pnpm 6.23
Repro steps:
Workflow here https://github.com/svitejs/vite-plugin-env-config/blob/main/.github/workflows/ci.yml
It uses setup-node twice:
-
first to get npm and run
npm i -g pnpm
(instead of using pnpms custom action)
https://github.com/svitejs/vite-plugin-env-config/blob/9fc3bbddc0b93583a3f068e5f0b8a6ecc0275a0a/.github/workflows/ci.yml#L27 -
second with pnpm cache option set to use automatic caching
https://github.com/svitejs/vite-plugin-env-config/blob/9fc3bbddc0b93583a3f068e5f0b8a6ecc0275a0a/.github/workflows/ci.yml#L31
Expected behavior:
setup succeeds
Actual behavior:
setup fails
log shows a 500 error for cache service
https://github.com/svitejs/vite-plugin-env-config/runs/4494014103?check_suite_focus=true#step:5:12
Additional information
- The repo is very new and cloned from a template. other repos with a similar setup don't show this behavior
- These are the initial workflow runs, there hasn't been a success. Maybe some initializaion failed?