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

package.json in a subdirectory #85

Closed
shamrin opened this issue Jul 13, 2022 · 1 comment · Fixed by #107
Closed

package.json in a subdirectory #85

shamrin opened this issue Jul 13, 2022 · 1 comment · Fixed by #107

Comments

@shamrin
Copy link

shamrin commented Jul 13, 2022

I have a mono repo with a volta-using project in a subdirectory. There is no root package.json:

$ ls **/package.json | grep -v node_modules
app/package.json

Is it possible to point volta action to a non-root package.json location?

I cannot have package.json in root, because of unrelated bug in another tool I'm using.

@rwjblue
Copy link
Collaborator

rwjblue commented Aug 18, 2022

Hmm. In general, this action doesn't actually care where your package.json is unless you want to specify an alternate node-version. If all you want to do is get volta installed, and when you run node/yarn/npm within your checkout's app/ directory, everything should work just fine.

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

Successfully merging a pull request may close this issue.

2 participants