Skip to content

refactor(v3-sdk): simplify midPrice in Route entity #943

refactor(v3-sdk): simplify midPrice in Route entity

refactor(v3-sdk): simplify midPrice in Route entity #943

name: "Monorepo Integrity"
on:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
monorepo-integrity:
name: Check monorepo integrity
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
fetch-depth: 2
submodules: "true"
- name: πŸ’½ Node and Caching
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7
with:
cache: yarn
node-version: 18
- name: πŸ“₯ yarn install
shell: bash
working-directory: ./
run: |
yarn --immutable
env:
# CI optimizations. Overrides yarnrc.yml options (or their defaults) in the CI action.
YARN_ENABLE_GLOBAL_CACHE: "false" # Use local cache folder to keep downloaded archives
YARN_NM_MODE: "hardlinks-local" # Hardlinks-local reduces io / node_modules size
HUSKY: "0" # By default do not run HUSKY install
- name: πŸ‘¬πŸ½ Check for conflicting versions across the monorepo
run: yarn g:check:deps:mismatch
# This check will be disabled while a major version change of sdk-core is underway
- name: πŸ‘¬πŸ½ Check for duplicate dependencies in lock file
run: yarn dedupe --check
- name: πŸ§‘β€βš–οΈ Check for yarn constraints.pro
run: yarn constraints