Skip to content

Commit 0c885b1

Browse files
Sync eng/common directory with azure-sdk-tools for PR 10523 (#40864)
* fix: bump node version in emitter pipeline * pr feedback --------- Co-authored-by: Jorge Rangel <[email protected]>
1 parent 83e913b commit 0c885b1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

eng/common/pipelines/templates/archetype-typespec-emitter.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ extends:
241241
Paths:
242242
- "/*"
243243
- "!SessionRecords"
244+
245+
- task: UseNode@1
246+
displayName: 'Install Node.js'
247+
inputs:
248+
version: '22.x'
244249

245250
- download: current
246251
displayName: Download pipeline artifacts
@@ -313,6 +318,11 @@ extends:
313318
- "/*"
314319
- "!SessionRecords"
315320

321+
- task: UseNode@1
322+
displayName: 'Install Node.js'
323+
inputs:
324+
version: '22.x'
325+
316326
- download: current
317327
displayName: Download pipeline artifacts
318328

@@ -491,4 +501,4 @@ extends:
491501
scriptType: "bash"
492502
scriptLocation: "inlineScript"
493503
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
494-
workingDirectory: $(Build.SourcesDirectory)/eng/packages/$(SpectorName)
504+
workingDirectory: $(Build.SourcesDirectory)/eng/packages/$(SpectorName)

0 commit comments

Comments
 (0)