Skip to content

Merge pull request #189 from 0xjoaovpsantos/186-refactor-emit-swap-ca… #106

Merge pull request #189 from 0xjoaovpsantos/186-refactor-emit-swap-ca…

Merge pull request #189 from 0xjoaovpsantos/186-refactor-emit-swap-ca… #106

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
env:
DEPLOYER_PRIVATE_KEY: ${{ vars.DEPLOYER_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18.16.0
- name: Install dependencies
run: yarn install
# This is required separately from yarn test because it generates the typechain definitions
- name: Compile
run: yarn compile
- name: Run unit tests
run: yarn test