зеркало из https://github.com/microsoft/CCF.git
Do not lock packages in tests (#2564)
This commit is contained in:
Родитель
e9a9861a78
Коммит
45db0a3b27
|
@ -8,10 +8,10 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|||
|
||||
CCF_APP_PKG_DIR="$SCRIPT_DIR/../../../js/ccf-app"
|
||||
pushd "$CCF_APP_PKG_DIR"
|
||||
npm install
|
||||
npm install --no-package-lock
|
||||
popd
|
||||
|
||||
pushd "$SCRIPT_DIR"
|
||||
npm install
|
||||
npm install --no-package-lock
|
||||
unbuffer npm test
|
||||
popd
|
|
@ -186,7 +186,7 @@ def test_npm_app(network, args):
|
|||
|
||||
LOG.info("Building ccf-app npm package (dependency)")
|
||||
ccf_pkg_dir = os.path.join(PARENT_DIR, "..", "js", "ccf-app")
|
||||
subprocess.run(["npm", "install"], cwd=ccf_pkg_dir, check=True)
|
||||
subprocess.run(["npm", "install", "--no-package-lock"], cwd=ccf_pkg_dir, check=True)
|
||||
|
||||
LOG.info("Building npm app")
|
||||
app_dir = os.path.join(PARENT_DIR, "npm-app")
|
||||
|
|
Загрузка…
Ссылка в новой задаче