diff --git a/.github/workflows/plugin-ci.yaml b/.github/workflows/plugin-ci.yaml index f719498..4a9d5fe 100644 --- a/.github/workflows/plugin-ci.yaml +++ b/.github/workflows/plugin-ci.yaml @@ -169,8 +169,6 @@ jobs: - name: Security audit run: | - if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then - pnpm audit --prod - else - npm audit --omit=dev - fi + # npm retired the audit endpoint pnpm uses. Use npm's audit for both + # package managers to avoid 410 errors. + npm audit --omit=dev