Skip to content

Commit

Permalink
[Cosmos] Use rushx instead of rush in the CI steps specific to Cosmos (
Browse files Browse the repository at this point in the history
…#5349)

* use rushx instead of rush

* use "${{parameters.PackagePath}}" syntax

* provide workingDirectory
  • Loading branch information
HarshaNalluru authored Oct 2, 2019
1 parent c1f17d2 commit b2732ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eng/pipelines/templates/steps/cosmos-additional-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ parameters:

steps:
- bash: |
node common/scripts/install-run-rush.js test-consumer -t "${{parameters.PackageName}}" --verbose
node ../../../common/scripts/install-run-rushx.js test-consumer --verbose
condition: succeededOrFailed()
displayName: "TypeScript Consumer Tests - Cosmos"
workingDirectory: "${{parameters.PackagePath}}"
- script: |
node common/scripts/install-run-rush.js build:samples -t "${{parameters.PackageName}}" --verbose
node ../../../common/scripts/install-run-rushx.js build:samples --verbose
condition: succeededOrFailed()
displayName: "Typecheck Samples - Cosmos"
workingDirectory: "${{parameters.PackagePath}}"
- script: |
npm run execute:samples
Expand Down

0 comments on commit b2732ee

Please sign in to comment.