Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Fixed bug that returned an empty swap router 02 address for base chain #261

Fixed bug that returned an empty swap router 02 address for base chain

Fixed bug that returned an empty swap router 02 address for base chain #261

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: Unit tests
strategy:
matrix:
node: ['10.x', '12.x', '14.x']
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Get cache directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test