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:
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user