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

DEV: update plugin and theme workflows to support both yarn & pnpm #152

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tyb-talks
Copy link
Contributor

@tyb-talks tyb-talks commented Sep 19, 2024

This is a non-breaking change to prepare for all officially supported plugins & themes to switch over to using pnpm.
Once all such plugins & themes are converted, we will remove references to yarn in these workflows and increment VERSION.

See https://meta.discourse.org/t/324521 for more detail on this change.

In the pnpm flow, we don't need to pull from github's cache for a restore of previous builds as it's overall slower than directly installing via pnpm.

Testing

WIP

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
cache: ${{ steps.js-pkg-manager.outputs.manager }}
Copy link
Contributor Author

@tyb-talks tyb-talks Sep 19, 2024

Choose a reason for hiding this comment

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

probably not necessary if we are simply building direct with pnpm instead of having the step to restore from cache?

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

Successfully merging this pull request may close these issues.

1 participant