Skip to content

Latest commit

 

History

History

npm-config-npmjs-org-registry

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

npm-config-npmjs-org-registry

A composite action which will configure NPM to use the NPM (npmjs.org) package registry.

This uses npm config set commands to set the API key and scope registry for the specified scope. This updates the user profile's .npmrc file with the API key needed to talk to the registry.

Example

      - name: npm-config-npmjs-org-registry
        uses: ritterim/public-github-actions/actions/[email protected]
        with:
          npmjs_api_key: ${{ secrets.npmjs_api_key }}