Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek committed Sep 2, 2022
1 parent 66052a4 commit 51829ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/run-ci-e2e-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
Expand Down

0 comments on commit 51829ef

Please sign in to comment.