Install uni-v3-lib dependencies before Foundry runs
This commit is contained in:
parent
9637fe6df1
commit
10f011f136
5 changed files with 50 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue