diff --git a/builds/azure-pipelines/template-steps-build-test.yml b/builds/azure-pipelines/template-steps-build-test.yml index b342912e..13250c0a 100644 --- a/builds/azure-pipelines/template-steps-build-test.yml +++ b/builds/azure-pipelines/template-steps-build-test.yml @@ -24,11 +24,19 @@ steps: inputs: workingFile: $(Build.SourcesDirectory)/.npmrc -- script: npm install azure-functions-core-tools --global --globalconfig $(Build.SourcesDirectory)/.npmrc --loglevel verbose +- task: Npm@1 displayName: 'Install Azure Functions Core Tools' + inputs: + command: 'custom' + customCommand: 'install azure-functions-core-tools --global --globalconfig $(Build.SourcesDirectory)/.npmrc --loglevel verbose' + workingDir: '$(Build.SourcesDirectory)' -- script: npm install azurite --global --globalconfig $(Build.SourcesDirectory)/.npmrc --loglevel verbose +- task: Npm@1 displayName: 'Install Azurite Local Storage Emulator' + inputs: + command: 'custom' + customCommand: 'install azurite --global --globalconfig $(Build.SourcesDirectory)/.npmrc --loglevel verbose' + workingDir: '$(Build.SourcesDirectory)' # This step is necessary because npm installs to a non-traditional location on Windows hosted agents # For non-Windows agents we still want to ensure that we always get the correct location where the tools are installed