feat: add gas reporter #94
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: | |
branches: | |
- master | |
pull_request: {} | |
release: | |
types: | |
- created | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Code | |
uses: actions/checkout@v3 | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
- name: Run Linter | |
run: npm run lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Code | |
uses: actions/checkout@v3 | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
- name: Run Test | |
run: npm test | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Code | |
uses: actions/checkout@v3 | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
- name: Run Coverage | |
run: npm run coverage | |
- name: Post to Codecov | |
uses: codecov/codecov-action@v3 |