Skip to content

v-venes/create-npmrc

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

create-npmrc

Github action to create .npmrc file for Github Package Registry dependency

Inputs

org_name

Required The name of user or organization owner of the repository.

auth_token

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

always_auth

Required Force npm to always require authentication when accessing the registry.

Example usage

uses: bikutadesu/[email protected]
with:
  org_name: EXAMPLE_ORG
  auth_token: GITHUB_TOKEN
  always_auth: true

Example output

//npm.pkg.github.com/:_authToken=GITHUB_TOKEN
@EXAMPLE_ORG:registry=https://npm.pkg.github.com/
always-auth=true

About

Github action to create a .npmrc file

Resources

Stars

Watchers

Forks

Packages

No packages published