node-orb
node-orb copied to clipboard
Cache based on .pnpm-lock.yaml
Describe Request:
It would be nice to be able to cache based on .pnpm-lock.yaml
when using pnpm
as a package manager in the install-packages
command.
Granted, this might amount to "npm support."
Examples:
jobs:
test:
- run:
name: install pnpm
command: sudo npm i -g pnpm
- checkout
- node/install-packages:
override-ci-command: pnpm i
cache-path: ~/.pnpm-store
Supporting Documentation Links:
Hi! Thanks for this request! I'll look into this shortly :)
@Jaryt any updates on this front? pnpm
is increasingly popular. We just were testing things and it cut our initial install times from 3 minutes to 1 minute on a client app, so would love to see support here. GitHub Actions seemingly supports it already
Would be great if this could be fixed
Pnpm support added in this version https://circleci.com/developer/orbs/orb/circleci/node?version=5.3.0#commands-install-pnpm. This should allows you to cache.