Azure DevOps and caching #9496
Unanswered
stevebeauge
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In the Azure Devops guide, the cache operation includes
pnpm-lock.yaml
:As far as I understand, the cache will be invalidated everytime the lock file changes.
That means the whole store will be redownloaded again if a single package in the whole tree changes. Which is very frequent.
Because pnpm is smart enough to download only missing packages, shouldn't
pnpm-lock.yaml
be removed from the input keys of the cache operation ?If wasting space is a concern, maybe a simple call to
pnpm store prune
after thepnpm install
command may be enough?Beta Was this translation helpful? Give feedback.
All reactions