Skip to content

💡 - Add pnpm support #5

@fengying-tes

Description

@fengying-tes

Is your feature request related to a problem? Please describe.
I just noticed nodejs-dev-ci-alt.yaml and node-pkg-release.yaml are using Yarn to install dependencies, but actually in most JS/TS related projects we are currently using pnpm instead of Yarn since pnpm generally has much better install speed and disk efficiency than Yarn.

Describe the solution you'd like
pnpm has an official GH action, we can use that to setup pnpm. Personally, I suggest any project which is still using Yarn should switch to pnpm, so that we can maintain only one workflow template for pnpm instead of two for pnpm and Yarn, if the project doesn't use any Yarn specific feature like yarn-workspace, it can be easily switched to pnpm without pain.

Describe alternatives you've considered
If there are still some projects can not switch to pnpm, we can maintain two workflow templates for both pnpm and yarn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions