Bug 1757701 - [puppeteer] Disable Husky when installing Puppeteer via npm. r=webdriver-reviewers,jdescottes

Depends on D145857

Differential Revision: https://phabricator.services.mozilla.com/D145858
This commit is contained in:
Henrik Skupin 2022-05-17 21:52:11 +00:00
parent 4a53582427
commit ee5c6046af

View File

@ -150,7 +150,7 @@ def vendor_puppeteer(command_context, repository, commitish, install):
)
if install:
env = {"PUPPETEER_SKIP_DOWNLOAD": "1"}
env = {"HUSKY": "0", "PUPPETEER_SKIP_DOWNLOAD": "1"}
npm(
"install",
cwd=os.path.join(command_context.topsrcdir, puppeteer_dir),
@ -684,7 +684,7 @@ def puppeteer_test(
def install_puppeteer(command_context, product, ci):
setup()
env = {}
env = {"HUSKY": "0"}
from mozversioncontrol import get_repository_object
repo = get_repository_object(command_context.topsrcdir)