This commit is contained in:
denislav-mladenov 2024-07-18 12:47:02 +03:00
parent cc9962789a
commit 285b6744a9

View file

@ -63,14 +63,14 @@ jobs:
docker exec go-ethereum apk add --no-cache nodejs npm docker exec go-ethereum apk add --no-cache nodejs npm
- name: Installation of hardhat - name: Installation of hardhat
run: docker exec go-ethereum sh -c "cd /workspace/hardhat && npm install --save-dev hardhat && npm install ethers@5" run: docker exec go-ethereum sh -c "cd /workspace/hardhat && ls -larth && npm install --save-dev hardhat && npm install ethers@5"
- name: Checking the hardhat version to verify that its working properly - name: Checking the hardhat version to verify that its working properly
run: docker exec go-ethereum npx hardhat --version run: docker exec go-ethereum npx hardhat --version
- name: Deploy hardhat sample project - name: Deploy hardhat sample project
run: | run: |
docker exec go-ethereum sh -c "cd /workspace/hardhat/ignition/modules && yes | npx hardhat ignition deploy Token.js --network devnet" docker exec go-ethereum sh -c "cd /workspace/hardhat && yes | npx hardhat ignition deploy ./ignition/modules/Token.js --network devnet"
- name: Testing contracts - name: Testing contracts
run: | run: |