Skip to content

Commit

Permalink
Enable retries for "rush install" (#2425)
Browse files Browse the repository at this point in the history
- Partial fix for azure/typespec-azure#3555
  • Loading branch information
mikeharder authored Sep 15, 2023
1 parent df61144 commit 06a8603
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/website-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
node-version: 18.x

- name: Install dependencies
run: node common/scripts/install-run-rush.js update
run: node common/scripts/install-run-rush.js install --max-install-attempts 3

- name: Build
run: node common/scripts/install-run-rush.js build --to @typespec/website -v
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/jobs/pull-request-consistency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
versionSpec: "16.x"
displayName: Install Node.js

- script: node common/scripts/install-run-rush.js install
- script: node common/scripts/install-run-rush.js install --max-install-attempts 3
displayName: Install JavaScript Dependencies

- script: node common/scripts/install-run-rush.js change -v
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/pr-tryit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
versionSpec: 16.x
displayName: Install Node.js

- script: node common/scripts/install-run-rush.js install
- script: node common/scripts/install-run-rush.js install --max-install-attempts 3
displayName: Install JavaScript Dependencies

- template: ./templates/build.yml
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ steps:
dotnet --version
displayName: "Log tool versions used"
- script: node common/scripts/install-run-rush.js install
- script: node common/scripts/install-run-rush.js install --max-install-attempts 3
displayName: Install JavaScript Dependencies

- script: dotnet restore
Expand Down

0 comments on commit 06a8603

Please sign in to comment.