Browse Source

Updated CI

maziggy 3 months ago
parent
commit
a361671952
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/security.yml

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

@@ -230,8 +230,8 @@ jobs:
         id: npm-audit
         id: npm-audit
         working-directory: frontend
         working-directory: frontend
         run: |
         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
       - name: Upload audit results
         if: always()
         if: always()