Update build-hardhat-project.yaml

This commit is contained in:
Lyuboslav Angelov 2023-11-15 16:08:19 +02:00 committed by GitHub
parent 0db3f29547
commit 973b43858b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,12 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN}}
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -34,4 +39,9 @@ jobs:
run: | run: |
cd hardhat cd hardhat
npx hardhat test --network localhost npx hardhat test --network localhost
- name: Create devnet geth image and push to Dockerhub
run: |
./create_image.sh
docker push anglyuboslav/geth-smart-con