How to use git-lfs with CI

git-lfs is great, but unfortunately the CI runners don’t know about it. Did anyone figure a way to set up runners with repos containing lfs objects?

I know this is dated but you have to initialize the git-lfs with the user that runs your runners.
Now the problem that i’ve found is that git-lfs implementation on gitlab doesn’t support token authentication which causes the runners to get blocked by gitlab.