add success&error frame result and logic #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Hardhat Test with NPM | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test_hardhat_npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: NPM Clean Install | |
run: cd smart_contract && npm ci | |
- name: Hardhat Compile | |
run: cd smart_contract && npx hardhat compile | |
- name: Hardhat Test | |
run: cd smart_contract && npx hardhat test | |
- name: Hardhat Coverage Result | |
run: cd smart_contract && npx hardhat coverage |