Skip to content

Commit

Permalink
Pin TypeScript to a version that doesn't cause rollup to hang forever (
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Aug 27, 2021
1 parent d3aebe8 commit d51b062
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions tests/js-modules/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/npm-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit d51b062

Please sign in to comment.