-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add auth setup for private registry with scope #16
Add auth setup for private registry with scope #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vitoorgomes Nice job! I also have some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might wanna remove node_modules
- generally this shouldn't be committed
There are some conflicts, can you resolve them? |
d3f5622
to
3f00658
Compare
when I forked |
didn't had free time sooner, but it's done |
can you rebuild it one more time, please? Then ping me, i'll merge. |
3f00658
to
345d8f9
Compare
sure, done |
Bun is awesome, but I've seen too many workarounds to make authentication for a private package under a registry-url (like
'https://npm.pkg.github.com/'
) with a scopeHeavily inspired by the
setup-node
action, I created this to support this featureI've tested a lot on a private personal org with a private package and my repo that installs the private package on CI worked like a charm.
Also
"@actions/cache"
import was duplicated onsetup.ts
and now I left onlyimport * as cache from "@actions/cache";