-
Notifications
You must be signed in to change notification settings - Fork 1
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
do not suggest using cache: npm
on pnpm based projects
#17
Comments
Same for |
FYI setup-node offers pnpm cache option now. Needs pnpm installed already so a bit more work than npm |
🥳
Well, this would be something on action's author right? This script should be aware on which Package Manager is being used and that's it? Or is it necessary a certain version of |
Well, if you send them a PR to use cache: pnpm in a workflow, it would be your responsibility to include the installation of pnpm prior to using that option. The pnpm action setup is one way to do it, another is running setup node twice and use |
Agree on that, but if this script is detecting the usage of |
Without the cache option it is safe to install pnpm after setup-node. |
🎯 Got you |
What’s missing?
A filter to prevent PR's like this: sveltejs/vite-plugin-svelte#102
Why?
it won't work
Alternatives you tried
as of now, keep using manual caching, but it looks like setup-node is adding pnpm support actions/setup-node#301
The text was updated successfully, but these errors were encountered: