-
Notifications
You must be signed in to change notification settings - Fork 60.7k
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
Add documentation for actions/setup-node pnpm cache #8389
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you! Nitpick: I think it make sense to mention the pnpm
package manager in the Caching dependencies to speed up workflows guide.
6d99f0f
Added! 👍 |
This comment has been minimized.
This comment has been minimized.
@jacobwgillespie Thanks so much for opening a PR! I'll get this triaged for review ⚡ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! I'm going to convert the disclaimer to a reusable, then I'll get this merged down for you.
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Why:
The
actions/setup-node
action now supports pnpm caching as of v2.3.0, and @MaksimZhukov requested a PR to update the docs for that addition.What's being changed:
I've added the workflow YAML example from https://github.com/actions/setup-node#caching-packages-dependencies for pnpm underneath the existing npm and yarn examples, matching the order from the action README.
Check off the following:
Writer impact (This section is for GitHub staff members only):