File tree 6 files changed +16
-11
lines changed
6 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 17
17
TestProxy : true
18
18
templateRoot : azure-sdk-tools
19
19
- task : NodeTool@0
20
- displayName : " Install Node.js 18 .x"
20
+ displayName : " Install Node.js 20 .x"
21
21
inputs :
22
- versionSpec : " 18 .x"
22
+ versionSpec : " 20 .x"
23
23
24
24
- task : UsePythonVersion@0
25
25
displayName : " Use Python $(PythonVersion)"
@@ -37,6 +37,14 @@ steps:
37
37
displayName : Install TypeSpec
38
38
condition : and(succeeded(), ${{ parameters.installTypeSpec }})
39
39
40
+ - script : npm install -g @typespec/compiler@next
41
+ displayName : Install TypeSpec Next
42
+ condition : and(succeeded(), ${{ parameters.updateToLatestTypespec }})
43
+
44
+ -
script :
npm install -g @azure-tools/[email protected]
45
+ displayName : Install @azure-tools/typespec-bump-deps
46
+ condition : and(succeeded(), ${{ parameters.updateToLatestTypespec }})
47
+
40
48
- script : npx @azure-tools/typespec-bump-deps package.json packages/typespec-python/package.json
41
49
displayName : Update typespec packages to latest dev version
42
50
workingDirectory : $(Build.SourcesDirectory)/autorest.python/
Original file line number Diff line number Diff line change 23
23
timeoutInMinutes : 120
24
24
25
25
steps :
26
- - script : npm install -g @typespec/compiler@next
27
- displayName : Install @typespec/compiler@next
28
-
29
26
- template : ci-template.yml
30
27
parameters :
31
28
installCadlRanch : true
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ extends:
65
65
OnlyGenerateTypespec : ${{ parameters.UseTypeSpecNext }}
66
66
AutorestInitializationSteps :
67
67
- task : NodeTool@0
68
- displayName : " Install Node.js 18 .x"
68
+ displayName : " Install Node.js 20 .x"
69
69
inputs :
70
- versionSpec : " 18 .x"
70
+ versionSpec : " 20 .x"
71
71
- task : UsePythonVersion@0
72
72
displayName : " Use Python 3.11"
73
73
inputs :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ trigger: none
2
2
pr : none
3
3
4
4
variables :
5
- NodeVersion : " 12 .x"
5
+ NodeVersion : " 20 .x"
6
6
PythonVersion : " 3.8"
7
7
TestFolder : " $(Build.SourcesDirectory)/test/"
8
8
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ extends:
19
19
os : linux
20
20
21
21
variables :
22
- NodeVersion : " 14 .x"
22
+ NodeVersion : " 20 .x"
23
23
AutorestTestFolder : " $(Build.SourcesDirectory)/packages/autorest.python/test/"
24
24
25
25
steps :
Original file line number Diff line number Diff line change 39
39
- checkout : azure-sdk-for-python
40
40
41
41
- task : NodeTool@0
42
- displayName : ' Install Node.js 18 .x'
42
+ displayName : ' Install Node.js 20 .x'
43
43
inputs :
44
- versionSpec : ' 18 .x'
44
+ versionSpec : ' 20 .x'
45
45
46
46
-
script :
npm install -g [email protected]
47
47
displayName : Install pnpm 9.5.0
You can’t perform that action at this time.
0 commit comments