Use cwd to run package.json script (#12700)

Fixes case when `package.json` is not in root directory. 
Usually in mono repository, where multiple `package.json` may be present

Release Notes:

- Fixed runnable for package.json in monorepos
3000f6ea22Nycheporuk Zakhar committed on 6/6/2024, 12:17:45 PM· committed by GitHubparent377e24b
1 file changedLine totals unavailable