Skip to content

How is yarn getting installed? #89

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

Closed
BrandonLWhite opened this issue Nov 22, 2019 · 4 comments
Closed

How is yarn getting installed? #89

BrandonLWhite opened this issue Nov 22, 2019 · 4 comments
Labels
question Further information is requested

Comments

@BrandonLWhite
Copy link

I cannot determine by what mechanism yarn is getting installed by this action. I was hoping to find something explicit in the code that is downloading and installing it, but I found no mention of yarn.

Could you please clarify how setup-node is ensuring that yarn gets installed?

@phartenfeller
Copy link

Yarn is automatically preinstalled with hosted runners. (docs)

@RammusXu
Copy link

RammusXu commented Dec 19, 2019

Yarn is automatically preinstalled with hosted runners. (docs)

What if I run on self-hosted runner? Should I install yarn in my runner?

@phartenfeller
Copy link

What if I run on self-hosted runner? Should I install yarn in my runner?

Yes, only the runner gets installed.

You can simply install it on the machine and the runner can access it. You don't have to do it in the workflow itself.

@bryanmacfarlane bryanmacfarlane added the question Further information is requested label Mar 31, 2020
@bryanmacfarlane
Copy link
Member

questions answered ☝️

krzyk pushed a commit to krzyk/setup-node that referenced this issue Apr 11, 2023
WEEPKRK-937 fixed improper handling of both possible query params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants