Skip to content

chore: move balanceOf gas amount to a constant #30

chore: move balanceOf gas amount to a constant

chore: move balanceOf gas amount to a constant #30

Workflow file for this run

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