Skip to content

Merge pull request #38 from stakedotlink/fix/update-test-account-number #130

Merge pull request #38 from stakedotlink/fix/update-test-account-number

Merge pull request #38 from stakedotlink/fix/update-test-account-number #130

name: CI
on: [push]
jobs:
ci:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Yarn dependencies
run: yarn install
- name: Run solhint
run: yarn solhint
- name: Run prettier
run: yarn prettier
- name: Hardhat clean
run: npx hardhat clean
- name: Compile contracts
run: yarn compile
- name: Run tests
run: yarn test