Install uni-v3-lib dependencies before Foundry runs

This commit is contained in:
openhands 2025-10-12 17:30:29 +00:00
parent 9637fe6df1
commit 10f011f136
5 changed files with 50 additions and 0 deletions

View file

@ -8,6 +8,17 @@ trigger:
- pull_request
steps:
- name: bootstrap-deps
image: node:20-bullseye
commands:
- |
bash -lc '
set -euo pipefail
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
'
- name: foundry-suite
image: ghcr.io/foundry-rs/foundry:stable
environment:

View file

@ -8,6 +8,17 @@ trigger:
- pull_request
steps:
- name: bootstrap-deps
image: node:20-bullseye
commands:
- |
bash -lc '
set -euo pipefail
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
'
- name: forge-suite
image: ghcr.io/foundry-rs/foundry:stable
environment:
@ -36,6 +47,17 @@ trigger:
- pull_request
steps:
- name: bootstrap-deps
image: node:20-bullseye
commands:
- |
bash -lc '
set -euo pipefail
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
'
- name: forge-suite
image: ghcr.io/foundry-rs/foundry:stable
environment:

View file

@ -29,6 +29,9 @@ steps:
apt-get update
apt-get install -y podman python3-pip curl jq ca-certificates
python3 -m pip install --no-cache-dir podman-compose
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
npm config set fund false
npm config set audit false
npm ci --prefix kraiken-lib --no-audit --no-fund

View file

@ -7,6 +7,17 @@ trigger:
- cron
steps:
- name: bootstrap-deps
image: node:20-bullseye
commands:
- |
bash -lc '
set -euo pipefail
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
'
- name: fuzz
image: ghcr.io/foundry-rs/foundry:stable
environment:

View file

@ -17,6 +17,9 @@ steps:
commands:
- bash -lc '
set -euo pipefail
git submodule update --init --recursive
corepack enable
yarn install --cwd onchain/lib/uni-v3-lib --frozen-lockfile
npm config set fund false
npm config set audit false
npm ci --prefix kraiken-lib --no-audit --no-fund