Description:
Getting a strange error in the "Post setup node.js" step in my GitHub workflow. I ran the workflow with debugging enabled and this step fails with this error:
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Action version:
v3 as uses: actions/setup-node@v3
Platform:
[x] Ubuntu (ubuntu-latest)
[ ] macOS
[ ] Windows
Runner type:
[x] Hosted
[ ] Self-hosted
Tools version:pnpm ("packageManager": "pnpm@9.1.2" in package.json at the root of my monorepo)
Description: Getting a strange error in the "Post setup node.js" step in my GitHub workflow. I ran the workflow with debugging enabled and this step fails with this error:
Action version: v3 as
uses: actions/setup-node@v3
Platform:
ubuntu-latest
)Runner type:
Tools version:
pnpm
("packageManager": "pnpm@9.1.2"
inpackage.json
at the root of my monorepo)Repro steps:
This is my GitHub action.
Expected behavior: Not really sure what is actually supposed to happen here.
Actual behavior: With debugging enabled, this is the full trace for the step:
0s
[debug]Evaluating condition for step: 'Post setup node.js'
[debug]Evaluating: success()
[debug]Evaluating success:
[debug]=> true
[debug]Result: true
[debug]Starting: Post setup node.js
[debug]Loading inputs
[debug]Evaluating: (((github.server_url == 'https://github.com') && github.token) || '')
[debug]Evaluating Or:
[debug]..Evaluating And:
[debug]....Evaluating Equal:
[debug]......Evaluating Index:
[debug]........Evaluating github:
[debug]........=> Object
[debug]........Evaluating String:
[debug]........=> 'server_url'
[debug]......=> 'https://github.com'
[debug]......Evaluating String:
[debug]......=> 'https://github.com'
[debug]....=> true
[debug]....Evaluating Index:
[debug]......Evaluating github:
[debug]......=> Object
[debug]......Evaluating String:
[debug]......=> 'token'
[debug]....=> '***'
[debug]..=> '***'
[debug]=> '***'
[debug]Expanded: ((('https://github.com' == 'https://github.com') && '***') || '')
[debug]Result: '***'
[debug]Loading env
Post job cleanup.
[debug]Checking zstd --quiet --version
[debug]1.5.6
[debug]zstd version: 1.5.6
[debug]implicitDescendants 'false'
[debug]followSymbolicLinks 'true'
[debug]implicitDescendants 'false'
[debug]omitBrokenSymbolicLinks 'true'
[debug]Search path '/home/runner/setup-pnpm/node_modules/.bin/store/v3'
[debug]Cache Paths:
[debug][]
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
[debug]Node Action run completed with exit code 1
[debug]Finishing: Post setup node.js