Skip to content

Remove duplicate npm authentication CI step and use npm ci#9967

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/remove-npm-authentication-ci-step
Open

Remove duplicate npm authentication CI step and use npm ci#9967
Copilot wants to merge 3 commits into
mainfrom
copilot/remove-npm-authentication-ci-step

Conversation

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

The build pipeline template had two consecutive npmAuthenticate@0 steps targeting the same .npmrc file, causing redundant authentication. The install step has also been updated to use npm ci for more reliable, reproducible builds.

Changes

  • .pipelines/templates/jobs/build.yml: Removed the second npmAuthenticate@0 step (which had customEndpoint: website npm feed), keeping only the first.
  • .pipelines/templates/jobs/build.yml: Replaced npm install with npm ci for a clean, deterministic install based on package-lock.json.
Original prompt

Remove second npm authentication ci step. Create a PR.

Created from VS Code.

Copilot AI changed the title [WIP] Remove second npm authentication CI step Remove duplicate npm authentication CI step Jun 19, 2026
Copilot AI requested a review from rzhao271 June 19, 2026 22:54

@rzhao271 rzhao271 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot Replace npm install with npm ci

@rzhao271 rzhao271 added this to the 1.126.0 milestone Jun 19, 2026
@rzhao271 rzhao271 marked this pull request as ready for review June 19, 2026 22:56

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Replace npm install with npm ci

Done in 9efb6d9.

Copilot AI changed the title Remove duplicate npm authentication CI step Remove duplicate npm authentication CI step and use npm ci Jun 19, 2026
Copilot AI requested a review from rzhao271 June 19, 2026 22:59
@rzhao271

Copy link
Copy Markdown
Contributor

@rzhao271 rzhao271 requested a review from ntrogh June 19, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants