Skip to content

chore: updated ci checks results output #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ jobs:

- name: API Golden Checks
id: golden_checks
continue-on-error: true
run: yarn run check-api

- name: Linters
id: linters
continue-on-error: true
if: ${{ success() || failure() && steps.golden_checks.conclusion == 'failure' }}
run: |
yarn run cspell --no-progress
yarn run prettier
Expand All @@ -43,7 +42,7 @@ jobs:

- name: Unit
id: units
continue-on-error: true
if: ${{ success() || failure() && (steps.linters.conclusion == 'failure' || steps.golden_checks.conclusion == 'failure') }}
run: |
yarn run unit:cdk
yarn run unit:components
Expand All @@ -56,10 +55,4 @@ jobs:

- name: License validation
run: yarn run validate:license

- name: Check for errors
run: |
if [[ "${{ steps.golden_checks.outcome }}" == "failure" || "${{ steps.linters.outcome }}" == "failure" || "${{ steps.units.outcome }}" == "failure" ]]; then
echo "One or more steps failed. Marking job as failed."
exit 1
fi
if: ${{ success() || failure() && (steps.linters.conclusion == 'failure' || steps.golden_checks.conclusion == 'failure' || steps.units.conclusion == 'failure') }}