I mean this is mostly an artifact of how sloppy CI is. Imagine how much energy and resources are wasted reinstalling packages 3 times in a ci pipeline or MR review pipeline
It might be like... $0.10 a month or so, _wasted_!
In the meantime we up our suv's with $100/mo in gas and heat our houses with $200/mo of fuel.
The elephant in the room is not CI.
having been tracking some of this stuff for my projects. it could also be the velocity some of the bigger packages move at. Up to date. 1 month later every item in your package.json needs to be updated. Then on top of that you might have a dozen or so direct items. Those will drag in several thousand items.
Now something like artifactory and your local npm cache should catch a lot of that but still...