Skip to content

Commit

Permalink
Updating workflow to install node.js and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
san-est committed Jun 14, 2024
1 parent c0c82ee commit 306bd94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-hardhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
run: |
docker run -d --name devnet -p 8545:8545 -v ${{ github.workspace }}/hardhat:/workspace/hardhat ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:9
- name: Installing Node.js and npm so that hardhat can run
run: |
docker exec devnet apk add --no-cache nodejs npm
- name: Deploy hardhat sample project
run: |
docker exec devnet npx hardhat compile --config /workspace/hardhat/hardhat.config.js
Expand Down

0 comments on commit 306bd94

Please sign in to comment.