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

[Feature Request]: Support caching for Yarn 2+ #31

Closed
tyrann0us opened this issue Jan 11, 2023 · 0 comments · Fixed by #29
Closed

[Feature Request]: Support caching for Yarn 2+ #31

tyrann0us opened this issue Jan 11, 2023 · 0 comments · Fixed by #29

Comments

@tyrann0us
Copy link
Member

tyrann0us commented Jan 11, 2023

I know that GitHub Actions still uses Yarn 1 (see e.g. here).

However, should this workflow be run on a system where the user manually installed a newer version, yarn config set cache-folder won't work because the settings key changed in Yarn >= 2. There, it's called cacheFolder (documentation), and the command would therefore be yarn config set cacheFolder.

Originally posted by @tyrann0us in #29 (comment)

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