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

cache pnpm manually in order to use corepack #510

Merged

Conversation

josefaidt
Copy link
Contributor

Issue #, if available:

Description of changes:

@actions/setup-node does not support corepack out-of-the-box

With the move to use corepack and lean on package.json#packageManager to resolve package manager versions, the provided caching from @actions/setup-node cannot find the pnpm executable.

This PR aims to cache pnpm's store manually.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@josefaidt josefaidt requested a review from a team as a code owner October 14, 2023 17:46
@josefaidt josefaidt added the run-ci Label to trigger action run for CI label Oct 14, 2023
@github-actions github-actions bot removed the run-ci Label to trigger action run for CI label Oct 14, 2023
@josefaidt josefaidt merged commit c8782ce into aws-amplify:main Oct 14, 2023
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