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

Add dependency caching to pnpm #1044

Open
MikeMcC399 opened this issue Sep 27, 2023 · 0 comments
Open

Add dependency caching to pnpm #1044

MikeMcC399 opened this issue Sep 27, 2023 · 0 comments

Comments

@MikeMcC399
Copy link
Collaborator

MikeMcC399 commented Sep 27, 2023

What would you like

When the cypress-io/github-action processes a project with a pnpm-lock.yaml lockfile from the pnmp package manager it should cache dependencies from the pnpm store. The location of the store can be found from the command pnpm store path.

Why is this needed?

The cypress-io/github-action caches dependencies from npm and from Yarn Classic for other project types (see Installation for lockfile names). Not providing this functionality for pnpm projects is inconsistent.

The benefit for users of pnpm projects with larger volumes of dependencies lies in shorter run times for workflows, providing results faster. Additionally all GitHub plans have either limits on the number of action minutes used or a cost associated with action minutes, so reducing run times is also beneficial to keep inside limits or to reduce costs. (See About Billing for GitHub Actions).

Other

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

No branches or pull requests

1 participant