This action auto generate NPMRC For Project while need to install the private package inside the github actions workspace
Required The token of the npmrc. Default "xxxx"
.
Required The name of the npmrc. Default "louis"
.
Required The working directory of the npmrc. Default "."
.
- name: Generate .npmrc
uses: actions/generatenpmrc@v1
with:
token: ${{ secrets.NPMRC_TOKEN }}
name-repo: dev
working directory: ${{ github.workspace }}