-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * cleanActions Signed-off-by: Adrian Escacena <[email protected]> * Skipping 2 SDK custom fees tests Signed-off-by: Miguel Ángel <[email protected]> * Skipping 1 SDK RPC transaction adapter test Signed-off-by: Miguel Ángel <[email protected]> * Skipping 3 tests Signed-off-by: Miguel Ángel <[email protected]> * test without web Signed-off-by: Adrian Escacena <[email protected]> * close version to main 1.9.1 Signed-off-by: Adrian Escacena <[email protected]> --------- Signed-off-by: Adrian Escacena <[email protected]> Signed-off-by: Miguel Ángel <[email protected]> Co-authored-by: Miguel Ángel <[email protected]>
- Loading branch information
1 parent
1800418
commit 2449adf
Showing
22 changed files
with
86 additions
and
505 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,13 +39,11 @@ jobs: | |
run: | | ||
npm install | ||
npm run build | ||
npm install | ||
working-directory: contracts | ||
- name: Install dependencies SDK | ||
run: | | ||
npm install | ||
npm run build | ||
npm install | ||
working-directory: sdk | ||
- name: Install dependencies Cli | ||
run: | | ||
|
@@ -58,28 +56,25 @@ jobs: | |
|
||
- name: package.lock web | ||
run: cat package-lock.json | ||
|
||
working-directory: web | ||
- name: node modelues sdk | ||
run: ls node_modules/ | ||
working-directory: sdk | ||
|
||
- name: Create file | ||
run: | | ||
touch .env | ||
echo "CLIENT_PRIVATE_KEY_ECDSA='3030020100300706052b8104000a042204203b246060c02fb81582b2299f947e72447d81523575f83a63bf2b7397421eb709'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ECDSA='302d300706052b8104000a0322000329087cf808aea861034668f7f2d6fe56299d62746414ac2cc2d3b147ba301b81'" >> .env | ||
echo "CLIENT_PRIVATE_KEY_ECDSA='3b246060c02fb81582b2299f947e72447d81523575f83a63bf2b7397421eb709'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ECDSA='29087cf808aea861034668f7f2d6fe56299d62746414ac2cc2d3b147ba301b81'" >> .env | ||
echo "CLIENT_EVM_ADDRESS_ECDSA='0x3a5c210bd658f7509a5f63df48f710a0240f2cab'" >> .env | ||
echo "CLIENT_ACCOUNT_ID_ECDSA='0.0.442280'" >> .env | ||
echo "CLIENT_PRIVATE_KEY_ED25519='302e020100300506032b657004220420016c98e8556ca5b1298602652da290de928ca29c336215baa88de9c629f26e99'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ED25519='302a300506032b657003210071e784a0c58c3e0fff92abc5962a5e8e048382723fa136bb71c4d183687456df'" >> .env | ||
echo "CLIENT_PRIVATE_KEY_ED25519='016c98e8556ca5b1298602652da290de928ca29c336215baa88de9c629f26e99'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ED25519='71e784a0c58c3e0fff92abc5962a5e8e048382723fa136bb71c4d183687456df'" >> .env | ||
echo "CLIENT_EVM_ADDRESS_ED25519='0x000000000000000000000000000000000006bfa9'" >> .env | ||
echo "CLIENT_ACCOUNT_ID_ED25519='0.0.442281'" >> .env | ||
echo "CLIENT_PRIVATE_KEY_ED25519_2='302e020100300506032b657004220420915a4680c82cb23fc2b0f00bda27ff3767ddfeb064c986221dddbba944d9e17c'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ED25519_2='302a300506032b6570032100369b111faa5d011b34b0c434340f0fa9584fcc0c92b5f5df3883e5bfbc725b3f'" >> .env | ||
echo "CLIENT_PRIVATE_KEY_ED25519_2='915a4680c82cb23fc2b0f00bda27ff3767ddfeb064c986221dddbba944d9e17c'" >> .env | ||
echo "CLIENT_PUBLIC_KEY_ED25519_2='369b111faa5d011b34b0c434340f0fa9584fcc0c92b5f5df3883e5bfbc725b3f'" >> .env | ||
echo "CLIENT_EVM_ADDRESS_ED25519_2='0x000000000000000000000000000000000006bfb5'" >> .env | ||
echo "CLIENT_ACCOUNT_ID_ED25519_2='0.0.442293'" >> .env | ||
echo "HEDERA_TOKEN_MANAGER_ADDRESS=0.0.14455016" >> .env | ||
echo "FACTORY_ADDRESS=0.0.14455068" >> .env | ||
echo "HEDERA_TOKEN_MANAGER_ADDRESS=0.0.1137621" >> .env | ||
echo "FACTORY_ADDRESS=0.0.1137631" >> .env | ||
working-directory: sdk | ||
|
||
- name: View File | ||
|
@@ -105,8 +100,8 @@ jobs: | |
|
||
- name: Run the Docker image | ||
run: nohup docker run --network="host" rpc & | ||
- name: Sleep for 30 seconds | ||
run: sleep 35s | ||
- name: Sleep for 25 seconds | ||
run: sleep 25s | ||
shell: bash | ||
- name: DockerStatus | ||
run: docker ps | ||
|
@@ -128,4 +123,59 @@ jobs: | |
- name: Test cli | ||
run: npm run test | ||
working-directory: cli | ||
|
||
- name: Authenticate to Google Cloud | ||
id: auth | ||
uses: google-github-actions/auth@v1 | ||
with: | ||
workload_identity_provider: 'projects/101730247931/locations/global/workloadIdentityPools/registry-identity-pool/providers/gh-provider' | ||
service_account: '[email protected]' | ||
token_format: 'access_token' | ||
- name: Setup Google Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v1 | ||
- name: Install contracts dependencies | ||
run: npm run install:contracts | ||
- name: Create .npmrc contracts | ||
run: | | ||
cd contracts && cat << EOF > .npmrc | ||
@hashgraph:registry=https://us-npm.pkg.dev/hedera-registry/stablecoin-npm/ | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:_authToken="${{ steps.auth.outputs.access_token }}" | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:always-auth=true | ||
EOF | ||
- name: Publish contracts package | ||
run: npm run publish:contracts | ||
- name: Install hashconnect dependencies | ||
run: npm run install:hashconnect | ||
- name: Create .npmrc hashconnect | ||
run: | | ||
cd hashconnect/lib && cat << EOF > .npmrc | ||
@hashgraph:registry=https://us-npm.pkg.dev/hedera-registry/stablecoin-npm/ | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:_authToken="${{ steps.auth.outputs.access_token }}" | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:always-auth=true | ||
EOF | ||
- name: Publish hashconnect package | ||
run: npm run publish:hashconnect | ||
- name: Install sdk dependencies | ||
run: npm run install:sdk | ||
- name: Create .npmrc sdk | ||
run: | | ||
cd sdk && cat << EOF > .npmrc | ||
@hashgraph:registry=https://us-npm.pkg.dev/hedera-registry/stablecoin-npm/ | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:_authToken="${{ steps.auth.outputs.access_token }}" | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:always-auth=true | ||
EOF | ||
- name: Publish sdk package | ||
run: npm run publish:sdk | ||
- name: Install cli dependencies | ||
run: npm run install:cli | ||
- name: Create .npmrc cli | ||
run: | | ||
cd cli && cat << EOF > .npmrc | ||
@hashgraph:registry=https://us-npm.pkg.dev/hedera-registry/stablecoin-npm/ | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:_authToken="${{ steps.auth.outputs.access_token }}" | ||
//us-npm.pkg.dev/hedera-registry/stablecoin-npm/:always-auth=true | ||
EOF | ||
- name: Publish cli package | ||
run: npm run publish:cli | ||
env: | ||
CI: "" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.