[CI] Improve handling of JS dependencies in build-configurations CI
Summary:
The modular use of "DEPENDS_" variables made sense when we were dealing with only 1 or 2 dependencies. Now we have many, and also the order matters.
Refactor build-configurations.py to accept yml definitions of dependencies. Organize dependency actions in a specific yml file.
Test Plan:
@bot ecash-herald-tests token-server-tests mock-chronik-client-tests b58-ts-tests chronik-client-tests ecash-lib-tests ecash-agora-tests ecashaddrjs-tests ecash-script-tests ecash-coinselect-tests ecash-agora-integration-tests ecash-lib-integration-tests chronik-client-integration-tests
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D17398