fix(deploy): NODE_ENV=development for npm install; tolerate swift-listener build skip
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Has started running
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 41s
Verify Deployment / Verify Deployment (push) Failing after 55s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-03 02:11:34 -07:00
parent 95a01c5953
commit 3611257ddb

View File

@@ -79,14 +79,18 @@ build_pkg() {
local dir="$1"
log "Building $dir..."
cd "$REPO_DIR/$dir"
npm install --no-fund --no-audit --include=dev
NODE_ENV=development npm install --no-fund --no-audit
npm run build
}
for dir in packages/integration-foundation packages/settlement-core \
services/token-aggregation services/settlement-middleware services/dbis-exchange \
services/swift-listener; do
build_pkg "$dir"
if [[ "$dir" == "services/swift-listener" ]]; then
build_pkg "$dir" || log "WARN: swift-listener build skipped — SWIFT inbound may use existing dist"
else
build_pkg "$dir"
fi
done
log "Building frontend..."