From 35b57365331d73ad931cc25e52bfaec177d2ef0c Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:47:17 +0000 Subject: [PATCH] [cosmwasm] Fix release ci (#1243) * Fix ci * Do it * Try if it succeeds * Another try * Fix --- .../release-pyth-cosmwasm-contract.yml | 2 +- package-lock.json | 77 ++++++++++++++++++- .../cosmwasm/deploy-scripts/package.json | 6 +- 3 files changed, 81 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-pyth-cosmwasm-contract.yml b/.github/workflows/release-pyth-cosmwasm-contract.yml index 08fcaf392a..1422baa4b3 100644 --- a/.github/workflows/release-pyth-cosmwasm-contract.yml +++ b/.github/workflows/release-pyth-cosmwasm-contract.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: target_chains/cosmwasm/tools + working-directory: target_chains/cosmwasm/deploy-scripts steps: - uses: actions/checkout@v2 - name: Setup tool diff --git a/package-lock.json b/package-lock.json index dc50ce80ed..0b8e200062 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56948,7 +56948,11 @@ "dependencies": { "@pythnetwork/cosmwasm-deploy-tools": "*", "contract_manager": "*", - "rimraf": "^5.0.0" + "rimraf": "^5.0.0", + "yargs": "^17.0.1" + }, + "devDependencies": { + "@types/yargs": "^17.0.18" } }, "target_chains/cosmwasm/deploy-scripts/node_modules/brace-expansion": { @@ -56959,6 +56963,19 @@ "balanced-match": "^1.0.0" } }, + "target_chains/cosmwasm/deploy-scripts/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "target_chains/cosmwasm/deploy-scripts/node_modules/glob": { "version": "10.3.3", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", @@ -57019,6 +57036,31 @@ "url": "https://github.com/sponsors/isaacs" } }, + "target_chains/cosmwasm/deploy-scripts/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "target_chains/cosmwasm/deploy-scripts/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } + }, "target_chains/cosmwasm/sdk/js/node_modules/axios": { "version": "0.26.1", "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", @@ -66196,8 +66238,10 @@ "version": "file:target_chains/cosmwasm/deploy-scripts", "requires": { "@pythnetwork/cosmwasm-deploy-tools": "*", + "@types/yargs": "^17.0.18", "contract_manager": "*", - "rimraf": "^5.0.0" + "rimraf": "^5.0.0", + "yargs": "^17.0.1" }, "dependencies": { "brace-expansion": { @@ -66208,6 +66252,16 @@ "balanced-match": "^1.0.0" } }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, "glob": { "version": "10.3.3", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", @@ -66240,6 +66294,25 @@ "requires": { "glob": "^10.2.5" } + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" } } }, diff --git a/target_chains/cosmwasm/deploy-scripts/package.json b/target_chains/cosmwasm/deploy-scripts/package.json index 5257f4e648..f8884e9e6c 100644 --- a/target_chains/cosmwasm/deploy-scripts/package.json +++ b/target_chains/cosmwasm/deploy-scripts/package.json @@ -14,6 +14,10 @@ "dependencies": { "rimraf": "^5.0.0", "@pythnetwork/cosmwasm-deploy-tools": "*", - "contract_manager": "*" + "contract_manager": "*", + "yargs": "^17.0.1" + }, + "devDependencies": { + "@types/yargs": "^17.0.18" } }