Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14353#9697

Merged
chidozieononiwu merged 2 commits intomainfrom
sync-eng/common-AllowNpmJSAccess-14353
Mar 5, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 14353#9697
chidozieononiwu merged 2 commits intomainfrom
sync-eng/common-AllowNpmJSAccess-14353

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14353 See eng/common workflow

@azure-sdk azure-sdk requested a review from a team as a code owner March 5, 2026 01:18
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the eng/common directory with azure-sdk-tools (PR #14353), refactoring the npm registry reset logic from an inline pipeline step that deleted the .npmrc file into a reusable step template (reset-npmrc.yml) that explicitly sets the project-level npm registry using npm config set.

Changes:

  • Added new reusable step template reset-npmrc.yml that sets and verifies the npm registry at the project level with proper error handling.
  • Replaced the inline "Delete repo .npmrc" PowerShell task in npm-publish.yml with a reference to the new reset-npmrc.yml template.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/common/pipelines/templates/steps/reset-npmrc.yml New reusable step template that sets the project-level npm registry and verifies it was applied correctly.
eng/common/pipelines/templates/jobs/npm-publish.yml Replaced inline .npmrc deletion step with a reference to the new reset-npmrc.yml template.

@chidozieononiwu chidozieononiwu merged commit c3b1e21 into main Mar 5, 2026
11 of 12 checks passed
@chidozieononiwu chidozieononiwu deleted the sync-eng/common-AllowNpmJSAccess-14353 branch March 5, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants