Skip to content

API-510 - tokenURI batch contract call #126

API-510 - tokenURI batch contract call

API-510 - tokenURI batch contract call #126

Workflow file for this run

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