fix: enforce security audit - remove continue-on-error

This commit is contained in:
2026-02-23 10:19:49 +03:00
parent 776c45bbd1
commit f749618d3e
+6 -9
View File
@@ -169,7 +169,7 @@ jobs:
echo "✅ Deployed web app v${{ env.NEW_VERSION }} to app.pezkuwichain.io" echo "✅ Deployed web app v${{ env.NEW_VERSION }} to app.pezkuwichain.io"
# ======================================== # ========================================
# SECURITY CHECKS (INFORMATIVE) # SECURITY CHECKS (BLOCKING)
# ======================================== # ========================================
security-audit: security-audit:
name: Security Audit name: Security Audit
@@ -185,22 +185,19 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- name: Web - npm audit - name: Web - npm audit (critical only)
working-directory: ./web working-directory: ./web
continue-on-error: true
run: | run: |
npm install npm install
npm audit --audit-level=high npm audit --audit-level=critical
- name: Mobile - npm audit - name: Mobile - npm audit (critical only)
working-directory: ./mobile working-directory: ./mobile
continue-on-error: true
run: | run: |
npm install npm install --legacy-peer-deps
npm audit --audit-level=high npm audit --audit-level=critical --production
- name: TruffleHog Secret Scan - name: TruffleHog Secret Scan
continue-on-error: true
uses: trufflesecurity/trufflehog@main uses: trufflesecurity/trufflehog@main
with: with:
path: ./ path: ./