Try to install rimraf globally as new infrastructure changes seem to deny us to call into rimraf locally

This is causing all pipelines to fail as they rely on rimraf >:(
This commit is contained in:
Noah Gilson 2023-07-18 09:52:01 -07:00
Родитель 6ec8756afc
Коммит 7304fea1af
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -98,11 +98,11 @@ stages:
scriptSource: 'filePath'
scriptPath: 'dependency-verifier.py'
arguments: '$(System.PullRequest.TargetBranch)'
failOnStderr: true
failOnStderr: true
##### Package and Publish #####
- job: Package
displayName: 'Package and Publish'
dependsOn:
dependsOn:
- Build
- TSLint
condition: succeeded()
@ -134,7 +134,7 @@ stages:
displayName: 'Get Version'
workingDirectory: $(dir-name)
- bash: |
npm install rimraf --reg https://registry.npmjs.org/ --verbose
npm install rimraf -g --reg https://registry.npmjs.org/ --verbose
npm install vsce -g --reg https://registry.npmjs.org/ --verbose
vsce package -o $(package-name)-$(GetVersion.version).vsix --ignoreFile ../.vscodeignore --yarn
displayName: Package Artifact