@@ -96,17 +96,23 @@ extends:
9696 - script : ' git config --local user.name Rushbot'
9797 displayName : ' git config name'
9898
99- - script : ' node common/scripts/install-run-rush.js install --to repo-toolbox'
100- displayName : ' Rush Install'
99+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
100+ parameters :
101+ Arguments : ' install --to repo-toolbox'
102+ DisplayName : ' Rush Install'
101103
102- - script : ' node common/scripts/install-run-rush.js build --to repo-toolbox --verbose'
103- displayName : ' Rush Build (repo-toolbox)'
104+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
105+ parameters :
106+ Arguments : ' build --to repo-toolbox --verbose'
107+ DisplayName : ' Rush Build (repo-toolbox)'
104108
105109 - script : ' node repo-scripts/repo-toolbox/lib-commonjs/start.js bump-decoupled-local-dependencies'
106110 displayName : ' Bump decoupled local dependencies'
107111
108- - script : ' node common/scripts/install-run-rush.js update'
109- displayName : ' Rush Update'
112+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
113+ parameters :
114+ Arguments : ' update'
115+ DisplayName : ' Rush Update'
110116
111117 - bash : |
112118 set -e
@@ -124,15 +130,15 @@ extends:
124130 git commit -m "$(CommitMessage)"
125131 displayName: 'Commit dependency changes'
126132
127- - bash : |
128- set -e
129-
130- node common/scripts/install-run-rush.js change \
131- --bulk \
132- --bump-type none \
133+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
134+ parameters :
135+ Arguments : >
136+ change
137+ --bulk
138+ --bump-type none
133139 --commit-message "chore: generate change files for decoupled dependency bump"
134- displayName : 'Generate change files'
135- condition: and(succeeded(), eq(variables.HasChanges, 'true'))
140+ DisplayName : ' Generate change files'
141+ Condition : " and(succeeded(), eq(variables.HasChanges, 'true'))"
136142
137143 - template : /common/config/azure-pipelines/templates/push-and-create-github-pr.yaml@self
138144 parameters :
@@ -163,13 +169,15 @@ extends:
163169 parameters :
164170 NodeMajorVersion : 24
165171
166- # Build the custom Docusaurus plugin for api-documenter in the
167- # rushstack-websites repo.
168- - script : ' node common/scripts/install-run-rush.js install'
169- displayName : ' Rush Install (rushstack-websites)'
172+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
173+ parameters :
174+ Arguments : ' install'
175+ DisplayName : ' Rush Install (rushstack-websites)'
170176
171- - script : ' node common/scripts/install-run-rush.js build --to-except api.rushstack.io --verbose'
172- displayName : ' Rush Build to-except api.rushstack.io (rushstack-websites)'
177+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
178+ parameters :
179+ Arguments : ' build --to-except api.rushstack.io --verbose'
180+ DisplayName : ' Rush Build to-except api.rushstack.io (rushstack-websites)'
173181
174182 # Download the api artifact from the triggering publish pipeline.
175183 # AzDO automatically resolves which pipeline resource triggered this run.
0 commit comments