Skip to content

Commit 985c9cd

Browse files
authored
ci: update rush installation (#3558)
update to node 18 use npm to install rush explicit calls to - rush install - rush link - rush rebuild
1 parent 023c1f2 commit 985c9cd

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.azure-pipelines/common-templates/install-tools.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ steps:
2828
- task: NodeTool@0
2929
displayName: Install NodeJs
3030
inputs:
31-
versionSpec: 16.x
31+
versionSpec: 18.x
3232

3333
- task: Npm@1
3434
displayName: Install AutoRest
@@ -47,4 +47,14 @@ steps:
4747
inputs:
4848
command: custom
4949
customCommand: install -g @microsoft/rush
50-
50+
51+
- task: PowerShell@2
52+
displayName: Rush Build
53+
inputs:
54+
targetType: inline
55+
pwsh: true
56+
workingDirectory: "autorest.powershell"
57+
script: |
58+
rush install
59+
rush link
60+
rush rebuild

0 commit comments

Comments
 (0)