API-510 - tokenURI batch contract call #126
Workflow file for this run
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: | |
- 'main' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node-version }} | |
- 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 Types | |
run: yarn lint:types | |
- name: Lint Source | |
run: yarn lint:source | |
- name: Lint Solidity | |
run: yarn lint:solidity | |
- name: Lint Formatting | |
run: yarn lint:format | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node-version }} | |
- 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 |