This action creates a .npmrc file during Github Actions. This is useful when needing to authenticate any private dependencies, such as private npm packages (FontAwesome Pro, for instance), Github private packages, etc.
Required The contents of the .npmrc file. If you have one locally, copy its contents into a Github secret and reference that here.
Required The directory to create the .npmrc file in. Default "."
for project root.
- name: Use .npmrc
uses: bduff9/use-npmrc@v1.2
with:
dot-npmrc: ${{ secrets.DOT_NPMRC }}