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

Update to pnpm (including adding pnpm support to shared-node-cache (and Cypress!)) #98

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jeremywiebe
Copy link
Contributor

@jeremywiebe jeremywiebe commented Mar 1, 2025

Summary:

This PR updates the Khan/shared-node-cache action to support our preferred package manager: pnpm! I've also included special support for Cypress as that doesn't "just work" when using a node_modules dir restored from cache.

See: https://pnpm.io/continuous-integration#github-actions

Issue: "none"

Test plan:

Integerate it into a project and test there. I'm not sure how else to test these shared actions.

@jeremywiebe jeremywiebe self-assigned this Mar 1, 2025
Copy link

changeset-bot bot commented Mar 1, 2025

🦋 Changeset detected

Latest commit: fdfd2e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
shared-node-cache Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -5,26 +5,40 @@ inputs:
description: 'Node version to use'
required: false
default: '20.x'
cache-cypress:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this option because we probably don't want to pull down the Cypress cache for jobs that aren't going to invoke Cypress.

@jeremywiebe jeremywiebe changed the title Update shared-node-cache to support pnpm (and Cypress!) Update to pnpm (including adding pnpm support to shared-node-cache (and Cypress!)) Mar 1, 2025
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