diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index cca5980..5da1dbc 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -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: diff --git a/.woodpecker/contracts.yml b/.woodpecker/contracts.yml index 6e4edd1..9301c6e 100644 --- a/.woodpecker/contracts.yml +++ b/.woodpecker/contracts.yml @@ -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: diff --git a/.woodpecker/e2e.yml b/.woodpecker/e2e.yml index 0ea9c98..c9fb10d 100644 --- a/.woodpecker/e2e.yml +++ b/.woodpecker/e2e.yml @@ -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 diff --git a/.woodpecker/fuzz-nightly.yml b/.woodpecker/fuzz-nightly.yml index 50fde4f..1fe0bcc 100644 --- a/.woodpecker/fuzz-nightly.yml +++ b/.woodpecker/fuzz-nightly.yml @@ -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: diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index 0cbe85a..1379f32 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -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