Skip to content

Move corepack enable to after Node setup #2679

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
wants to merge 2 commits into from
Closed

Conversation

tjmw
Copy link
Member

@tjmw tjmw commented Feb 6, 2025

It feels a bit weird that we were running corepack before the Node setup. Try moving it after (and see if that removes the need to install a specific later version, after all Node ships with corepack by default).

What does this change?

How to test

How can we measure success?

Have we considered potential risks?

Images

Accessibility

tjmw added 2 commits February 6, 2025 13:17
It feels a bit weird that we were running corepack before the Node
setup. Try moving it after (and see if that removes the need to install
a specific later version, after all Node ships with corepack by
default).
@tjmw
Copy link
Member Author

tjmw commented Feb 6, 2025

Reading actions/setup-node#480 and some of the examples in there, it looks like it's expected that corepack enable would be run ahead of setup-node.

@tjmw tjmw closed this Feb 6, 2025
@tjmw tjmw deleted the tw/corepack-order branch February 6, 2025 13:25
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 this pull request may close these issues.

1 participant