From 32062d6cb6a02877a70eb546c10a78290b9a7862 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 24 Apr 2024 12:32:22 +0200 Subject: [PATCH] Reverting 'deployment' command back to 'deploy' Instead of running 'pnpm deploy', you should run 'pnpm run deploy' to bypass the conflict between a custom hardhat command and a build-in pnpm command. --- .github/workflows/solidity.yaml | 2 +- solidity/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/solidity.yaml b/.github/workflows/solidity.yaml index 818e93d59..7586edb1a 100644 --- a/.github/workflows/solidity.yaml +++ b/.github/workflows/solidity.yaml @@ -140,7 +140,7 @@ jobs: path: solidity/ - name: Deploy - run: pnpm run deployment --no-compile + run: pnpm run deploy --no-compile solidity-deploy-testnet: needs: [solidity-deploy-dry-run] diff --git a/solidity/package.json b/solidity/package.json index 180773092..8cb5969e1 100644 --- a/solidity/package.json +++ b/solidity/package.json @@ -16,7 +16,7 @@ "scripts": { "clean": "hardhat clean && rm -rf cache/ export/ gen/ export.json", "build": "hardhat compile", - "deployment": "hardhat deploy --export export.json", + "deploy": "hardhat deploy --export export.json", "docs": "hardhat docgen", "format": "npm run lint:js && npm run lint:sol && npm run lint:config", "format:fix": "npm run lint:js:fix && npm run lint:sol:fix && npm run lint:config:fix",