refactor(v3-sdk): simplify midPrice
in Route
entity
#943
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: "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 |