Sync eng/common directory with azure-sdk-tools for PR 10523 (#6556)

* fix: bump node version in emitter pipeline

* pr feedback

---------

Co-authored-by: Jorge Rangel <jorgerangel@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-05-02 10:41:04 -07:00 committed by GitHub
parent 9b32b889d7
commit a123a27abf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -241,6 +241,11 @@ extends:
Paths:
- "/*"
- "!SessionRecords"
- task: UseNode@1
displayName: 'Install Node.js'
inputs:
version: '22.x'
- download: current
displayName: Download pipeline artifacts
@ -313,6 +318,11 @@ extends:
- "/*"
- "!SessionRecords"
- task: UseNode@1
displayName: 'Install Node.js'
inputs:
version: '22.x'
- download: current
displayName: Download pipeline artifacts
@ -491,4 +501,4 @@ extends:
scriptType: "bash"
scriptLocation: "inlineScript"
inlineScript: npx tsp-spector upload-coverage --coverageFile $(Build.ArtifactStagingDirectory)/tsp-spector-coverage-azure.json --generatorName @azure-typespec/$(SpectorName) --storageAccountName typespec --containerName coverages --generatorVersion $(node -p -e "require('./package.json').version") --generatorMode azure
workingDirectory: $(Build.SourcesDirectory)/eng/packages/$(SpectorName)
workingDirectory: $(Build.SourcesDirectory)/eng/packages/$(SpectorName)