Use npm mirror for frontend dependencies
This commit is contained in:
@@ -992,7 +992,17 @@ class DeployerTests(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(
|
||||
plan[0].command,
|
||||
[npm, "install", "--no-audit", "--no-fund", "--progress=false"],
|
||||
[
|
||||
npm,
|
||||
"install",
|
||||
"--registry=https://registry.npmmirror.com",
|
||||
"--strict-ssl=false",
|
||||
"--legacy-peer-deps",
|
||||
"--no-audit",
|
||||
"--no-fund",
|
||||
"--progress=false",
|
||||
"--loglevel=verbose",
|
||||
],
|
||||
)
|
||||
self.assertEqual(plan[1].command[1:3], ["run", "serve"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user