Skip to content

Commit

Permalink
Reverting 'deployment' command back to 'deploy'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dimpar committed Apr 24, 2024
1 parent 0ced354 commit 32062d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/solidity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 32062d6

Please sign in to comment.