Create .npmrc
ActionsTags
(2)Github action to create .npmrc file for Github Package Registry dependency
Required The name of user or organization owner of the repository.
Required The Auth Token is responsible to able the download of the files of the repository, is highly recommended pass the token through a Github secret.
Secrets variables can be configured on repository settings > Secrets
Required Force npm to always require authentication when accessing the registry.
uses: bikutadesu/[email protected]
with:
org_name: EXAMPLE_ORG
auth_token: GITHUB_TOKEN
always_auth: true
//npm.pkg.github.com/:_authToken=GITHUB_TOKEN
@EXAMPLE_ORG:registry=https://npm.pkg.github.com/
always-auth=true
Create .npmrc is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.