The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: add explicit error hint for coverage threshold failures in frontend test step (#17937)
Abdullah.4f903fa0ba19
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 5faf4b7f6ee..28fd097c009 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -197,10 +197,19 @@ jobs:tag: scope:frontendtasks: reset:env- name: Run ${{ matrix.task }} task+ id: run-taskuses: ./.github/actions/nx-affectedwith:tag: scope:frontendtasks: ${{ 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 }} cacheuses: ./.github/actions/save-cachewith: