-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
docs: Consider caveat for Yarn 2+ and private repos #537
Comments
Hello @jdeblasse. Thank you for your report. We'll investigate the feature request. |
|
Status update. I do not confirm so far we have a problem with the scoped yarn config. The scoped package works without issue with npmjs repository without extra configurations https://github.com/akv-demo/setup-node-test/runs/7906221779?check_suite_focus=true But with the github repository there's an authentication problem. |
@jdeblasse |
@dsame No opinion really. If possible, creating the .yarnrc.yml on the fly is, of course, easier for the end user. It would have to merge with any current .yarnrc.yml files that may be present in the repo. The only potential issue I see with this approach is currently, inputs for setup-node include |
The issue is to be closed with PR |
I close the issue with providing docs |
…ctions#537) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description:
Consider adding caveat documentation for using Yarn 2+ with private repos in the Advanced usage section. Yarn 2+ ignores both
.npmrc
and.yarnrc
files so any auth settings via setup-node are ignored when using Yarn 2+.Basic usage
Per Yarn's docs regarding snake-cased, prefixed vars. Tested and working.
Scoped usage
Untested code however should work as described.
my-org
should be replaced by the scoped name. Complex objects can not be set using Yarn's prefixed env vars so this must be done via command line config.The text was updated successfully, but these errors were encountered: