Adding hardhat test

This commit is contained in:
Ruslan Gladov 2024-06-15 20:54:27 +03:00
parent c289420899
commit 8a79ba0232

View file

@ -46,13 +46,18 @@ jobs:
# npm install --save-dev @nomicfoundation/hardhat-toolbox # npm install --save-dev @nomicfoundation/hardhat-toolbox
# npx hardhat ignition deploy ./ignition/modules/Lock.js # npx hardhat ignition deploy ./ignition/modules/Lock.js
- name: Run docker container with the Apollo contract
run: docker run hardhat-ignition
- name: Hardhat test
run: npx hardhat test
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: true push: true
tags: e1018mc/limechain:deployed tags: e1018mc/limechain:apollo_contract
- name: Destroy local devnet - name: Destroy local devnet
run: docker-compose down run: docker-compose down