Skip to content

chore: Added script for deployment and interaction scripts #21

chore: Added script for deployment and interaction scripts

chore: Added script for deployment and interaction scripts #21

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- 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 --ignore-engines
# This is required separately from yarn test because it generates the typechain definitions
- name: Compile
run: yarn compile
# - name: Compile Uniswap V3 types
# run: yarn compile-uniswap-contract-types
- name: Run tests
run: yarn test