mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
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:
parent
4a53582427
commit
ee5c6046af
@ -150,7 +150,7 @@ def vendor_puppeteer(command_context, repository, commitish, install):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if install:
|
if install:
|
||||||
env = {"PUPPETEER_SKIP_DOWNLOAD": "1"}
|
env = {"HUSKY": "0", "PUPPETEER_SKIP_DOWNLOAD": "1"}
|
||||||
npm(
|
npm(
|
||||||
"install",
|
"install",
|
||||||
cwd=os.path.join(command_context.topsrcdir, puppeteer_dir),
|
cwd=os.path.join(command_context.topsrcdir, puppeteer_dir),
|
||||||
@ -684,7 +684,7 @@ def puppeteer_test(
|
|||||||
|
|
||||||
def install_puppeteer(command_context, product, ci):
|
def install_puppeteer(command_context, product, ci):
|
||||||
setup()
|
setup()
|
||||||
env = {}
|
env = {"HUSKY": "0"}
|
||||||
from mozversioncontrol import get_repository_object
|
from mozversioncontrol import get_repository_object
|
||||||
|
|
||||||
repo = get_repository_object(command_context.topsrcdir)
|
repo = get_repository_object(command_context.topsrcdir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user