Skip to content

Github Action to set scope in a .npmrc file

License

Notifications You must be signed in to change notification settings

trejjam/npm-scope-action

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

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configure NPM Scope GitHub Action

Github Action to set scope in a .npmrc file

.github/workflows/main.yml

Inputs

accessToken required

organization required

feed required

username fallback to organization

email fallback to dummy string

Example usage

uses: trejjam/npm-scope-action
with:
  accessToken: ${{ secrets.NPM_SCOPE_PERSONAL_ACCESS_TOKEN }}
  organization: ${{ secrets.NPM_SCOPE_ORGANIZATION }}
  feed: ${{ secrets.NPM_SCOPE_FEED }}

About

Github Action to set scope in a .npmrc file

Resources

License

Stars

Watchers

Forks

Packages

No packages published