Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions builds/azure-pipelines/template-steps-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down