Skip to content

Update README

Update README #1057

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci && npm run load-contracts
- name: compile
run: npx hardhat compile
- name: test
run:
export ALCHEMY_MAINNET_API_KEY=${{secrets.ALCHEMY_MAINNET_API_KEY}}
npm run test
sim:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pip3 install numpy && npm ci && npm run load-contracts
- name: compile
run: npx hardhat compile
- name: simulation
run:
export ALCHEMY_MAINNET_API_KEY=${{secrets.ALCHEMY_MAINNET_API_KEY}}
npm run sim
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci && npm run load-contracts
- name: compile
run: npx hardhat compile
- name: typecheck
run: npm run typecheck