Authenticate to user scope .npmrc#14377
Conversation
|
The following pipelines have been queued for testing: |
There was a problem hiding this comment.
Pull request overview
Adds an Azure Pipelines step template to create a temporary user-scoped .npmrc and authenticate it for subsequent npm operations.
Changes:
- Creates a temp
.npmrcby copying repo.npmrc(or creating an empty file if absent) - Sets
NPM_CONFIG_USERCONFIGto point npm at the temp.npmrc - Runs
npmAuthenticate@0against the temp.npmrc
eng/common/pipelines/templates/steps/authenticate-temp-npmrc.yml
Outdated
Show resolved
Hide resolved
|
The following pipelines have been queued for testing: |
scbedd
left a comment
There was a problem hiding this comment.
Net new file. Nothing jumping out at me.
eng/common/pipelines/templates/steps/authenticate-temp-npmrc.yml
Outdated
Show resolved
Hide resolved
4dffe85 to
54053d1
Compare
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14377 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14377 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
.npmrc