Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions eng/pipelines/ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ steps:
TestProxy: true
templateRoot: azure-sdk-tools
- task: NodeTool@0
displayName: "Install Node.js 18.x"
displayName: "Install Node.js 20.x"
inputs:
versionSpec: "18.x"
versionSpec: "20.x"

- task: UsePythonVersion@0
displayName: "Use Python $(PythonVersion)"
Expand All @@ -37,6 +37,14 @@ steps:
displayName: Install TypeSpec
condition: and(succeeded(), ${{ parameters.installTypeSpec }})

- script: npm install -g @typespec/compiler@next
displayName: Install TypeSpec Next
condition: and(succeeded(), ${{ parameters.updateToLatestTypespec }})

- script: npm install -g @azure-tools/typespec-bump-deps@0.9.6
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After fix version released, we can remove the pinned version.

displayName: Install @azure-tools/typespec-bump-deps
condition: and(succeeded(), ${{ parameters.updateToLatestTypespec }})

- script: npx @azure-tools/typespec-bump-deps package.json packages/typespec-python/package.json
displayName: Update typespec packages to latest dev version
workingDirectory: $(Build.SourcesDirectory)/autorest.python/
Expand Down
3 changes: 0 additions & 3 deletions eng/pipelines/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
timeoutInMinutes: 120

steps:
- script: npm install -g @typespec/compiler@next
displayName: Install @typespec/compiler@next

- template: ci-template.yml
parameters:
installCadlRanch: true
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ extends:
OnlyGenerateTypespec: ${{ parameters.UseTypeSpecNext }}
AutorestInitializationSteps:
- task: NodeTool@0
displayName: "Install Node.js 18.x"
displayName: "Install Node.js 20.x"
inputs:
versionSpec: "18.x"
versionSpec: "20.x"
- task: UsePythonVersion@0
displayName: "Use Python 3.11"
inputs:
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/publish-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ trigger: none
pr: none

variables:
NodeVersion: "12.x"
NodeVersion: "20.x"
PythonVersion: "3.8"
TestFolder: "$(Build.SourcesDirectory)/test/"

Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extends:
os: linux

variables:
NodeVersion: "14.x"
NodeVersion: "20.x"
AutorestTestFolder: "$(Build.SourcesDirectory)/packages/autorest.python/test/"

steps:
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/sdk_regenerate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
- checkout: azure-sdk-for-python

- task: NodeTool@0
displayName: 'Install Node.js 18.x'
displayName: 'Install Node.js 20.x'
inputs:
versionSpec: '18.x'
versionSpec: '20.x'

- script: npm install -g pnpm@9.5.0
displayName: Install pnpm 9.5.0
Expand Down
Loading