Skip to content

Commit

Permalink
ci: update check:affected-packages API to check:affected
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Apr 3, 2023
1 parent 30b687f commit 7c0bbf5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devops/templates/runpublishvrscreenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
isPR=${{lower(eq(variables['Build.Reason'], 'PullRequest'))}}
echo $isPR
if [[ $isPR == true ]]; then
packageAffected=$(yarn --silent check:affected-package --packages ${{ parameters.vrTestPackageName }} --pr=true)
packageAffected=$(yarn --silent check:affected --package ${{ parameters.vrTestPackageName }})
if [[ $packageAffected == false ]]; then
echo "In PR pipeline but NOT affecting test package. Skipping test run"
echo "##vso[task.setvariable variable=vrTestSkip;]yes"
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.perf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
displayName: yarn

- script: |
NorthstarAffected=$(yarn --silent check:affected-package --packages @fluentui/react-northstar --pr)
V8Affected=$(yarn --silent check:affected-package --packages @fluentui/react --pr)
ReactComponentsAffected=$(yarn --silent check:affected-package --packages @fluentui/react-components --pr)
NorthstarAffected=$(yarn --silent check:affected --package @fluentui/react-northstar)
V8Affected=$(yarn --silent check:affected --package @fluentui/react)
ReactComponentsAffected=$(yarn --silent check:affected --package @fluentui/react-components)
if [[ $NorthstarAffected == true ]]; then
echo "##vso[task.setvariable variable=NorthstarPackageAffected;isOutput=true]true"
fi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"change": "beachball change --no-commit",
"check:change": "beachball check",
"check:modified-files": "node -r ./scripts/ts-node/register ./scripts/executors/check-for-modified-files",
"check:affected-package": "node ./scripts/executors/checkIfPackagesAffected.js",
"check:affected": "node ./scripts/executors/checkIfPackagesAffected.js",
"check:installed-dependencies-versions": "satisfied --no-peers --skip-invalid",
"clean": "lage clean --verbose",
"code-style": "lage code-style --verbose",
Expand Down

0 comments on commit 7c0bbf5

Please sign in to comment.