diff --git a/.husky/pre-commit b/.husky/pre-commit index ed39b46..54851d7 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,8 @@ -# Ensure lockfile is up to date -echo "🔒 Updating lockfile..." -pnpm lock +# Ensure lockfile is up to date if package.json changed +if git diff --cached --name-only | grep -q "^package.json$"; then + echo "🔒 Updating lockfile..." + pnpm lock +fi # Build the action before committing echo "🔨 Building action..." diff --git a/entry.js b/entry.js index 76d6607..823d7f6 100755 --- a/entry.js +++ b/entry.js @@ -40479,7 +40479,7 @@ function query({ // package.json var package_default = { name: "@pullfrog/action", - version: "0.0.97", + version: "0.0.98", type: "module", files: [ "index.js", diff --git a/package.json b/package.json index 9c7dc60..457e7ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pullfrog/action", - "version": "0.0.97", + "version": "0.0.98", "type": "module", "files": [ "index.js",