Skip to content

App-Expansion #1 (MDP-96) #264

App-Expansion #1 (MDP-96)

App-Expansion #1 (MDP-96) #264

name: /contracts Yarn CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
defaults:
run:
working-directory: contracts
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node-version: [14.x, 16.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: contracts/yarn.lock
- run: npm install --global yarn
- run: echo $(yarn --version)
- run: yarn install
- run: yarn solhint
- run: yarn prettier:solidity