Skip to content

post setup-node throws an error - missing pnpm store dir #543

Closed
@dominikg

Description

@dominikg

Description:
post setup-node throws an error about a missing store directory for pnpm

Action version:
3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

node16, pnpm 7.5.1

Repro steps:
workflow:
https://github.com/sveltejs/vite-plugin-svelte/blob/main/.github/workflows/ci.yml
run with error:
https://github.com/sveltejs/vite-plugin-svelte/runs/7306898304?check_suite_focus=true

Expected behavior:

pnpm store is detected correctly and cached in post-action - no error thrown.
Even if the run completed correctly but for whatever reason the pnpm store could not be cached, post should not throw an error, causing a CI fail.

Actual behavior:

An error is thrown in post setup-node, failing the run

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions