Skip to content

Commit b756cfe

Browse files
authored
refactor: Simplify screen reader test result checks
Removed conditional checks for screen reader test results based on release status.
1 parent f268b26 commit b756cfe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/default.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -382,13 +382,6 @@ jobs:
382382
resultTestShowcasePatternhub="${{ needs.test-showcase-patternhub.result }}"
383383
resultTestScreenReader="${{ needs.test-screen-reader.result }}"
384384
385-
# For releases, test-screen-reader must be success; for non-releases, skipped is also acceptable
386-
if [[ $IS_RELEASE == "true" ]]; then
387-
[[ $resultTestScreenReader == "success" ]] && screenReaderOk="true" || screenReaderOk="false"
388-
else
389-
[[ $resultTestScreenReader == "success" || $resultTestScreenReader == "skipped" ]] && screenReaderOk="true" || screenReaderOk="false"
390-
fi
391-
392385
if [[ $resultBuildStorybookComposition == "success" ]] && \
393386
[[ $resultBuildStorybookAngular == "success" ]] && \
394387
[[ $resultBuildStorybookReact == "success" ]] && \

0 commit comments

Comments
 (0)