Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm logs two different content-addressable store paths #71

Open
axelboc opened this issue Dec 12, 2022 · 2 comments
Open

pnpm logs two different content-addressable store paths #71

axelboc opened this issue Dec 12, 2022 · 2 comments

Comments

@axelboc
Copy link

axelboc commented Dec 12, 2022

When pnpm/action-setup installs pnpm, the logs show:

Content-addressable store is at: /home/runner/.pnpm-store/v3

image

But when pnpm installs the dependencies, it logs another path:

Content-addressable store is at: /home/runner/setup-pnpm/node_modules/.bin/store/v3

image

The second one is correct. Is it because PNPM_HOME is set after the installation of pnpm instead of before?

I'm not passing anything special to the actions:

- name: Install pnpm ⚙️
  uses: pnpm/action-setup@v2
  with:
    version: 7.x

- name: Install dependencies ⚙️
  run: pnpm install --frozen-lockfile
@zkochan
Copy link
Member

zkochan commented Dec 13, 2022

It is hard to fix. The whole action should be rewritten.

@offizium-berndstorath
Copy link

@zkochan Whats the status on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants