зеркало из https://github.com/microsoft/CCF.git
Pin TypeScript to a version that doesn't cause rollup to hang forever (#2923)
This commit is contained in:
Родитель
d3aebe84f1
Коммит
d51b0624d0
|
@ -255,8 +255,11 @@ def test_npm_app(network, args):
|
|||
|
||||
LOG.info("Building npm app")
|
||||
app_dir = os.path.join(PARENT_DIR, "npm-app")
|
||||
subprocess.run(["npm", "install"], cwd=app_dir, check=True)
|
||||
subprocess.run(["npm", "run", "build"], cwd=app_dir, check=True)
|
||||
assert infra.proc.ccall("npm", "install", path=app_dir).returncode == 0
|
||||
assert (
|
||||
infra.proc.ccall("npm", "run", "build", "--verbose", path=app_dir).returncode
|
||||
== 0
|
||||
)
|
||||
|
||||
LOG.info("Deploying npm app")
|
||||
bundle_dir = os.path.join(app_dir, "dist")
|
||||
|
|
|
@ -24,6 +24,6 @@
|
|||
"http-server": "^0.12.3",
|
||||
"rollup": "^2.41.0",
|
||||
"tslib": "^2.0.1",
|
||||
"typescript": "^4.2.0"
|
||||
"typescript": "4.2.4"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче