Bump @nomiclabs/hardhat-waffle from 2.0.1 to 2.0.5 #34
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: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 20 | |
- name: Cache Dependencies | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: yarn-${{ hashFiles('yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Compile Contracts | |
run: yarn compile | |
- name: Lint | |
run: yarn lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 20 | |
- name: Cache Dependencies | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: yarn-${{ hashFiles('yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Compile Contracts | |
run: yarn compile | |
- name: Test | |
run: yarn test --coverage | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v1 | |
estimate-gas: | |
name: Estimate Gas | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 20 | |
- name: Cache Dependencies | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: yarn-${{ hashFiles('yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Compile Contracts | |
run: yarn compile | |
- name: Estimate Gas | |
run: yarn estimate-gas |