Hardhat Build & Test #1261
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: Hardhat Build & Test | |
on: | |
schedule: | |
# Runs "at 7h30 am every day" (see https://crontab.guru) | |
- cron: '30 7 * * *' | |
push: | |
workflow_dispatch: | |
jobs: | |
hardhat_build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Yarn Install | |
run: yarn | |
- name: Hardhat Compile | |
run: yarn hardhat compile | |
- name: Hardhat Test | |
run: yarn hardhat test | |
- name: Hardhat Coverage | |
run: yarn coverage |