fix(ci): replace retired pnpm audit hook

This commit is contained in:
Vincent Koc
2026-04-15 01:10:02 +01:00
parent 3aae0fb16d
commit 55ee327981
3 changed files with 580 additions and 2 deletions

View File

@@ -117,10 +117,10 @@ repos:
# Project checks (same commands as CI)
- repo: local
hooks:
# pnpm audit --prod --audit-level=high
# node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high
- id: pnpm-audit-prod
name: pnpm-audit-prod
entry: pnpm audit --prod --audit-level=high
entry: node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high
language: system
pass_filenames: false