diff --git a/package.json b/package.json index c72ed620748fc..3c0673d3e0cdb 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,9 @@ "**/*.{ts,tsx,graphql,yml,json,md,js,mdx}": [ "prettier --write" ], + "**/package.json": [ + "sh -c \"yarn install --mode=update-lockfile\" && git add yarn.lock" + ], "yarn.lock": [ "yarn dedupe" ]