Skip to content

Instantly share code, notes, and snippets.

@darknoon

darknoon/now.json

Last active Oct 30, 2019
Embed
What would you like to do?
How to make Private GH packages work with now and yarn
{
"build": {
"env": {
"MY_GH_TOKEN": "@my_gh_packages_access_token",
"NPM_RC": "registry=https://npm.pkg.github.com/<USERNAME or ORG>\n//npm.pkg.github.com/:_authToken=${MY_GH_TOKEN}\n//npm.pkg.github.com/<USERNAME or ORG>/:_authToken=${MY_GH_TOKEN}\nalways-auth=true\n"
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment