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

Call Yarn Command From Corepack Command in Workflow #236

Closed
threeal opened this issue Dec 6, 2023 · 0 comments · Fixed by #237
Closed

Call Yarn Command From Corepack Command in Workflow #236

threeal opened this issue Dec 6, 2023 · 0 comments · Fixed by #237
Assignees
Labels
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Dec 6, 2023

This issue proposes a modification to our workflow by replacing direct yarn ... commands with corepack yarn .... The rationale behind this adjustment is that the default Yarn version installed on the GitHub Action runner may be outdated compared to the version used in this project. To address this, we utilize corepack enable yarn to ensure compatibility. It appears that yarn commands can be executed through corepack yarn to explicitly indicate the usage of Yarn enabled by Corepack. This change aims to prevent inadvertent use of the potentially outdated Yarn version on the GitHub Action runner and encourages a more reliable and consistent workflow.

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

Successfully merging a pull request may close this issue.

1 participant