fix: add explicit error hint for coverage threshold failures in frontend test step (#17937)

This commit is contained in:
Abdullah.
2026-02-14 14:16:49 +05:00
committed by GitHub
parent 2072d5f720
commit 4f903fa0ba
+9
View File
@@ -197,10 +197,19 @@ jobs:
tag: scope:frontend
tasks: reset:env
- name: Run ${{ matrix.task }} task
id: run-task
uses: ./.github/actions/nx-affected
with:
tag: scope:frontend
tasks: ${{ matrix.task }}
- name: Check for coverage threshold failure
if: always() && steps.run-task.outcome == 'failure' && matrix.task == 'test'
shell: bash
run: |
echo "::error::The test task failed. If no individual test is failing, this is likely a coverage threshold not being met."
echo ""
echo "To debug locally, run: npx nx run twenty-front:test:ci"
exit 1
- name: Save ${{ matrix.task }} cache
uses: ./.github/actions/save-cache
with: