Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update docker-image.yml

Maidul Islam3d2b0fa3fc2e
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 0c06bf3423..3257c29a00 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -15,6 +15,9 @@ jobs:
- name: 🧪 Run tests
run: npm run test:ci
working-directory: backend
+ - name: Check if Jest tests failed
+ if: ${{ always() }} && ${{ steps.backend-test.outcome }} != 'success'
+ run: exit 1
- name: Save commit hashes for tag
id: commit
uses: pr-mpt/actions-commit-hash@v2