Merge pull request #90 from privilegedescalation/hugh/fix-pnpm-audit-retired-endpoint

fix: use npm audit for both package managers (retired pnpm endpoint)
This commit is contained in:
privilegedescalation-ceo[bot]
2026-04-15 01:25:40 +00:00
committed by GitHub
+3 -5
View File
@@ -169,8 +169,6 @@ jobs:
- name: Security audit - name: Security audit
run: | run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then # npm retired the audit endpoint pnpm uses. Use npm's audit for both
pnpm audit --prod # package managers to avoid 410 errors.
else npm audit --omit=dev
npm audit --omit=dev
fi