Remove existing .npmrc when releasing to npm js#14343
Remove existing .npmrc when releasing to npm js#14343chidozieononiwu merged 1 commit intoAzure:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the shared npm publishing pipeline template to ensure releases to the public npmjs registry aren’t affected by a repo-level .npmrc that points at an Azure DevOps feed (aligning with the npmjs release workflow described in the linked issue).
Changes:
- Adds a pre-publish step (npmjs-only) to delete the repo-root
.npmrcbefore invoking ESRP npm publishing.
|
The following pipelines have been queued for testing: |
eb270f4 to
f189df6
Compare
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14343 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#14343 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> Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
Packages impacted by this PR
Issues associated with this PR
Azure/azure-sdk-for-js#37076
Describe the problem that is addressed by this PR