Skip to content

Commit

Permalink
nit: move conditional statement up
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWatanabe committed Dec 7, 2022
1 parent 2af0909 commit bd60f25
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .devops/templates/runpublishvrscreenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ steps:
fi
displayName: Check if vrTests should be skipped
- script: |
yarn workspace ${{ parameters.vrTestPackageName }} convert
displayName: Convert screener component to storywright
condition: and(eq(variables['vrTestSkip'], 'no'), eq('${{ parameters.shouldBuildNorthstar }}', 'false'))
- ${{ if eq(parameters.shouldBuildNorthstar, 'false') }}:
- script: |
yarn workspace ${{ parameters.vrTestPackageName }} convert
displayName: Convert screener component to storywright
condition: eq(variables['vrTestSkip'], 'no')
- ${{ if eq(parameters.shouldBuildstorybookaddon, 'true') }}:
- script: |
Expand Down

0 comments on commit bd60f25

Please sign in to comment.