checkout: Failing to install node modules from private repos [using urls]
I’m trying to setup a workflow that simply runs npm install/test. I’m having problems with projects that have private github urls. I tried settng token
with a PAT that has full repo scopes… no luck. Any insight? npm issues git clone
commands… by the description w/ persisting the token, I’d expect this to work😕
{
"name": "foo",
"dependencies": {
"some-private-module": "SomeAcmeCo/some-private-repo"
}
}
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 28 (6 by maintainers)
Using webfactory/ssh-agent fixes my issue.
@ericsciple thanks. I’ll have to wait for some solution. If this was just one or two projects I wouldn’t mind, but because actions do not have a way to point to a central definition (that I know of) I’d have to add (and then update) 50+ projects.
It needs to be global. If I add a step before
npm install
that does:My action passes.