chore: harden dependency workflows

This commit is contained in:
Mario Zechner
2026-05-20 15:53:18 +02:00
parent aa4adac766
commit 17cc86a479
9 changed files with 174 additions and 4 deletions

View File

@@ -3,6 +3,11 @@
# Get list of staged files before running check
STAGED_FILES=$(git diff --cached --name-only)
node scripts/check-lockfile-commit.mjs
if [ $? -ne 0 ]; then
exit 1
fi
# Run the check script (formatting, linting, and type checking)
echo "Running formatting, linting, and type checking..."
npm run check