Fix value #138
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: CI | |
on: [push] | |
jobs: | |
ci: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Yarn dependencies | |
run: yarn install | |
- name: Run solhint | |
run: yarn solhint | |
- name: Run prettier | |
run: yarn prettier | |
- name: Hardhat clean | |
run: npx hardhat clean | |
- name: Compile contracts | |
run: yarn compile | |
- name: Run tests | |
run: yarn test |