updated estimateWithdraw object & validate asset decimals in quoteSwap() #2533
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: Test Commit | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: Cache Yarn packages | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Deps | |
run: yarn && yarn yarn-audit-ci --high | |
- name: Build Packages | |
run: yarn build | |
- name: Build examples | |
run: yarn build:examples | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
env: | |
CI: true | |
BLOCKCHAIR_API_KEY: ${{ secrets.BLOCKCHAIR_API_KEY }} |