From 39bb550b9c9e8ba040ed7e2cd4c9982fdd15d1b4 Mon Sep 17 00:00:00 2001
From: Chad Ostrowski <221614+chadoh@users.noreply.github.com>
Date: Thu, 28 Sep 2023 13:13:37 +0200
Subject: [PATCH] build: more CI troubleshooting; quieter alias script

---
 .github/workflows/bindings-ts.yml                   | 5 ++++-
 cmd/crates/soroban-spec-typescript/ts-tests/soroban | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml
index 1d313d6f0..c56d0635b 100644
--- a/.github/workflows/bindings-ts.yml
+++ b/.github/workflows/bindings-ts.yml
@@ -40,6 +40,9 @@ jobs:
     - run: cargo build
     - run: rustup target add wasm32-unknown-unknown
     - run: make build-test-wasms
-    - run: curl "http://localhost:8000/friendbot?addr=$(soroban config identity address)"
+    - run: curl "http://localhost:8000/friendbot?addr=$(./soroban config identity address)"
+      working-directory: cmd/crates/soroban-spec-typescript/ts-tests
+    - run: ./soroban config identity fund
+      working-directory: cmd/crates/soroban-spec-typescript/ts-tests
     - run: npm ci && npm run test
       working-directory: cmd/crates/soroban-spec-typescript/ts-tests
diff --git a/cmd/crates/soroban-spec-typescript/ts-tests/soroban b/cmd/crates/soroban-spec-typescript/ts-tests/soroban
index 8e5e7fcd5..d98f247c9 100755
--- a/cmd/crates/soroban-spec-typescript/ts-tests/soroban
+++ b/cmd/crates/soroban-spec-typescript/ts-tests/soroban
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-cargo run -p soroban-cli -- "$@"
+cargo run --quiet -p soroban-cli -- "$@"