Skip to content

Commit 1eb5e0a

Browse files
authored
revert to using bash script instead of npm task (#1155)
1 parent 1d157c5 commit 1eb5e0a

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

builds/azure-pipelines/template-steps-build-test.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,12 @@ steps:
2525
inputs:
2626
workingFile: $(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}/.npmrc
2727

28-
- task: Npm@1
28+
- script: npm install azure-functions-core-tools --global --globalconfig $(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}/.npmrc --loglevel verbose
2929
displayName: 'Install Azure Functions Core Tools'
30-
inputs:
31-
command: 'custom'
32-
customCommand: 'install azure-functions-core-tools --global --globalconfig $(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}/.npmrc --loglevel verbose'
33-
workingDir: '$(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}'
3430

35-
- task: Npm@1
31+
- script: npm install azurite --global --globalconfig $(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}/.npmrc --loglevel verbose
3632
displayName: 'Install Azurite Local Storage Emulator'
37-
inputs:
38-
command: 'custom'
39-
customCommand: 'install azurite --global --globalconfig $(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}/.npmrc --loglevel verbose'
40-
workingDir: '$(Build.SourcesDirectory)/${{ parameters.sourcesSubdirectory }}'
41-
33+
4234
# This step is necessary because npm installs to a non-traditional location on Windows hosted agents
4335
# For non-Windows agents we still want to ensure that we always get the correct location where the tools are installed
4436
# This sets the path to npm global installations as a variable which then gets passed to .NET test task

0 commit comments

Comments
 (0)