mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1799207 - Part 2: Install lit when installing storybook r=hjones
Depends on D161341 Differential Revision: https://phabricator.services.mozilla.com/D161342
This commit is contained in:
parent
0fc1fc6ebf
commit
6af8cfa539
@ -2,10 +2,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from mach.decorators import (
|
||||
Command,
|
||||
SubCommand,
|
||||
)
|
||||
from mach.decorators import Command, SubCommand
|
||||
|
||||
|
||||
def run_mach(command_context, cmd, **kwargs):
|
||||
@ -40,6 +37,12 @@ def storybook_launch(command_context):
|
||||
description="Install Storybook node dependencies.",
|
||||
)
|
||||
def storybook_install(command_context):
|
||||
# Bug 1790483: First, we need to make sure lit is installed
|
||||
run_mach(
|
||||
command_context,
|
||||
"npm",
|
||||
args=["run", "vendor", "--prefix=toolkit/content/vendor/lit"],
|
||||
)
|
||||
return run_npm(command_context, args=["ci"])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user