Install a package from Private Github repo

Hi,

I’m looking for a way to use yarn add private github_repo for installing it on Circle CI.
I’ve googled a way to do that, unfortunately, I haven’t found any clues yet.

Has anyone had an idea/experience to do that?

Using version 2

Thank you in advance

Do you get an error when you try to run a command like this for a private repo? If so, please share it here.