Skip to content

Commit 9432dbd

Browse files
Use ADO variable for npm registry URL in daily CI build
Replace hardcoded Azure Artifacts registry URL with npmRegistryUrl pipeline variable, matching the approach in msgraph-sdk-typescript-core. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 532140f commit 9432dbd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ extends:
4949
versionSpec: '20.x'
5050

5151
- script: |
52-
echo "registry=https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/npm/registry/" > .npmrc
52+
echo "registry=$(NPM_REGISTRY_URL)" > .npmrc
5353
echo "always-auth=true" >> .npmrc
54+
env:
55+
NPM_REGISTRY_URL: $(npmRegistryUrl)
5456
displayName: Create .npmrc for Azure Artifacts feed
5557
workingDirectory: $(Build.SourcesDirectory)
5658

0 commit comments

Comments
 (0)