Skip to content

Commit 81e4bc9

Browse files
fix: resolve daily CI build failures (1ES pool image + npm auth)
- Add missing 'image: ubuntu-latest' to main pool configuration - Add .npmrc pointing to GraphDeveloperExperiences_Public Azure Artifacts feed - Add npmAuthenticate@0 task before npm ci in the pipeline Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8973486 commit 81e4bc9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.azure-pipelines/daily-ci-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ extends:
2121
parameters:
2222
pool:
2323
name: Azure-Pipelines-1ESPT-ExDShared
24+
image: ubuntu-latest
2425
os: linux
2526
sdl:
2627
sourceAnalysisPool:
@@ -47,6 +48,11 @@ extends:
4748
inputs:
4849
versionSpec: '20.x'
4950

51+
- task: npmAuthenticate@0
52+
displayName: Authenticate npm
53+
inputs:
54+
workingFile: $(Build.SourcesDirectory)/.npmrc
55+
5056
- script: npm ci
5157
displayName: Install dependencies
5258
workingDirectory: $(Build.SourcesDirectory)

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/npm/registry/
2+
always-auth=true

0 commit comments

Comments
 (0)