maziggy 3 miesięcy temu
rodzic
commit
a361671952
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      .github/workflows/security.yml

+ 2 - 2
.github/workflows/security.yml

@@ -230,8 +230,8 @@ jobs:
         id: npm-audit
         working-directory: frontend
         run: |
-          npm audit --json > npm-audit-results.json || echo "vulnerabilities_found=true" >> $GITHUB_OUTPUT
-          npm audit --audit-level=high || true
+          npm audit --omit=dev --json > npm-audit-results.json || echo "vulnerabilities_found=true" >> $GITHUB_OUTPUT
+          npm audit --omit=dev --audit-level=high || true
 
       - name: Upload audit results
         if: always()