pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
899 stars 87 forks source link

Feature Request: add builtin cache support #80

Closed trim21 closed 1 year ago

trim21 commented 1 year ago

like https://github.com/actions/setup-node caching npm and yarn package

suggest a feature to cache installed package with install

Kolobok12309 commented 1 year ago

@trim21 But setup-node has pnpm cache option

https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data

trim21 commented 1 year ago

oh thanks

kinland commented 11 months ago

I would suggest reopening this; we are using a self-hosted runner and are not using setup-node because node is preinstalled. As such... we can't use setup-node's cache option.

Having to add THREE steps to use pnpm with caching is kinda ugly.

I'm looking into making a PR for this. @trim21 would you mind reopening?