From 51829ef229140d07b7e271016344b6ebd3371632 Mon Sep 17 00:00:00 2001 From: fortmarek Date: Fri, 2 Sep 2022 12:31:10 +0200 Subject: [PATCH] Add logs --- scripts/run-ci-e2e-tests.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/run-ci-e2e-tests.js b/scripts/run-ci-e2e-tests.js index 49896ad72e9560..31f8d7a696923c 100644 --- a/scripts/run-ci-e2e-tests.js +++ b/scripts/run-ci-e2e-tests.js @@ -104,16 +104,19 @@ try { const data = d.toString(); process.stdout.write(d + '\n'); if (data.match(/username/i)) { + echo('Write username to child'); child.stdin.write('user' + '\n'); } else if (data.match(/password/i)) { child.stdin.write('pass' + '\n'); } else if (data.match(/email/i)) { child.stdin.write('mail@nomail.com' + '\n'); } else if (data.match(/logged in as/i)) { + echo('Logged in as user'); child.stdin.end(); } }); + echo('Publish package'); exec( 'cd packages/assets-registry && npm publish --registry http://localhost:4873 --yes --access public', );