@@ -133,7 +133,7 @@ extends:
133133 -UseTypeSpecNext:$${{ parameters.UseTypeSpecNext }}
134134 -EmitterPackagePath:${{ parameters.EmitterPackagePath }}
135135 env :
136- NPM_CONFIG_USERCONFIG : $(emitterNpmrcPath)
136+ npm_config_userconfig : $(emitterNpmrcPath)
137137
138138 - task : PowerShell@2
139139 displayName : ' Run build script'
@@ -146,7 +146,7 @@ extends:
146146 -EmitterPackagePath:${{ parameters.EmitterPackagePath }}
147147 -GeneratorVersion: $(initialize.emitterVersion)
148148 env :
149- NPM_CONFIG_USERCONFIG : $(emitterNpmrcPath)
149+ npm_config_userconfig : $(emitterNpmrcPath)
150150
151151 - pwsh : |
152152 $sourceBranch = '$(Build.SourceBranch)'
@@ -322,7 +322,7 @@ extends:
322322 displayName: Install tsp-client
323323 workingDirectory: $(Build.SourcesDirectory)/eng/common/tsp-client
324324 env:
325- NPM_CONFIG_USERCONFIG : $(tspClientNpmrcPath)
325+ npm_config_userconfig : $(tspClientNpmrcPath)
326326
327327 - pwsh : |
328328 # Resolve EmitterPackageJsonOutputPath to absolute path if it's relative
@@ -349,7 +349,7 @@ extends:
349349 displayName: Generate emitter-package.json and emitter-package-lock files
350350 workingDirectory: $(Build.SourcesDirectory)/eng/common/tsp-client
351351 env:
352- NPM_CONFIG_USERCONFIG : $(tspClientNpmrcPath)
352+ npm_config_userconfig : $(tspClientNpmrcPath)
353353
354354 - ${{ parameters.InitializationSteps }}
355355
@@ -424,7 +424,7 @@ extends:
424424 workingDirectory : $(Build.SourcesDirectory)
425425 continueOnError : true
426426 env :
427- NPM_CONFIG_USERCONFIG : $(emitterNpmrcPath)
427+ npm_config_userconfig : $(emitterNpmrcPath)
428428
429429 - template : /eng/common/pipelines/templates/steps/git-push-changes.yml
430430 parameters :
@@ -580,7 +580,7 @@ extends:
580580 -BuildArtifactsPath '$(buildArtifactsPath)/lock-files'
581581 -EmitterPackagePath: ${{ parameters.EmitterPackagePath }}
582582 env :
583- NPM_CONFIG_USERCONFIG : $(emitterNpmrcPath)
583+ npm_config_userconfig : $(emitterNpmrcPath)
584584
585585 - task : PowerShell@2
586586 displayName : ' Run test script'
@@ -592,7 +592,7 @@ extends:
592592 -OutputDirectory "$(Build.ArtifactStagingDirectory)"
593593 -EmitterPackagePath: ${{ parameters.EmitterPackagePath }}
594594 env :
595- NPM_CONFIG_USERCONFIG : $(emitterNpmrcPath)
595+ npm_config_userconfig : $(emitterNpmrcPath)
596596
597597 - template : /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
598598 parameters :
0 commit comments