What is the best practice of using cache or artifact for building NodeJS

I use gitlab-runner inside in Kubernetes. All builds starting in runner-helper.
I was thinking of connecting PVC(PersistentVolumeClaim - on board CephFS) but I’m not sure about the best practice, because it was slow and possible recording competition.