@@ -96,17 +96,31 @@ 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 : >
102+ install
103+ --to repo-toolbox
104+ DisplayName : ' Rush Install'
101105
102- - script : ' node common/scripts/install-run-rush.js build --to repo-toolbox --verbose'
103- displayName : ' Rush Build (repo-toolbox)'
106+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
107+ parameters :
108+ Arguments : >
109+ build
110+ --to repo-toolbox
111+ --verbose
112+ DisplayName : ' Rush Build (repo-toolbox)'
104113
105114 - script : ' node repo-scripts/repo-toolbox/lib-commonjs/start.js bump-decoupled-local-dependencies'
106115 displayName : ' Bump decoupled local dependencies'
107116
108- - script : ' node common/scripts/install-run-rush.js update'
109- displayName : ' Rush Update'
117+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
118+ parameters :
119+ Arguments : ' update'
120+ DisplayName : ' Rush Update'
121+
122+ - bash : cp common/temp/install-run/@microsoft+rush@*/package-lock.json common/config/validation/rush-package-lock.json
123+ displayName : ' Update rush-package-lock.json'
110124
111125 - bash : |
112126 set -e
@@ -124,15 +138,15 @@ extends:
124138 git commit -m "$(CommitMessage)"
125139 displayName: 'Commit dependency changes'
126140
127- - bash : |
128- set -e
129-
130- node common/scripts/install-run-rush.js change \
131- --bulk \
132- --bump-type none \
141+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
142+ parameters :
143+ Arguments : >
144+ change
145+ --bulk
146+ --bump-type none
133147 --commit-message "chore: generate change files for decoupled dependency bump"
134- displayName : 'Generate change files'
135- condition: and(succeeded(), eq(variables.HasChanges, 'true'))
148+ DisplayName : ' Generate change files'
149+ Condition : " and(succeeded(), eq(variables.HasChanges, 'true'))"
136150
137151 - template : /common/config/azure-pipelines/templates/push-and-create-github-pr.yaml@self
138152 parameters :
@@ -163,13 +177,18 @@ extends:
163177 parameters :
164178 NodeMajorVersion : 24
165179
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)'
180+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
181+ parameters :
182+ Arguments : ' install'
183+ DisplayName : ' Rush Install (rushstack-websites)'
170184
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)'
185+ - template : /common/config/azure-pipelines/templates/install-run-rush.yaml@self
186+ parameters :
187+ Arguments : >
188+ build
189+ --to-except api.rushstack.io
190+ --verbose
191+ DisplayName : ' Rush Build to-except api.rushstack.io (rushstack-websites)'
173192
174193 # Download the api artifact from the triggering publish pipeline.
175194 # AzDO automatically resolves which pipeline resource triggered this run.
0 commit comments