copied apy calculation code from solend-lite to sdk (calculation was broken) #38
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: Liquidator CI | |
on: | |
push: | |
paths: | |
- "liquidator/**" | |
- ".github/workflows/liquidator.yml" | |
pull_request: | |
paths: | |
- "liquidator/**" | |
- ".github/workflows/liquidator.yml" | |
jobs: | |
lint_and_build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./liquidator | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: yarn install --immutable --immutable-cache --check-cache | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build |