chore: integrate SDK into contracts tests (#47)

Co-authored-by: Lempire <61431140+lempire123@users.noreply.github.com>
This commit is contained in:
moebius
2025-01-28 16:19:32 +00:00
committed by GitHub
parent 7559502b36
commit e32e76d398
63 changed files with 85425 additions and 1380 deletions

View File

@@ -65,8 +65,22 @@ jobs:
node-version: 20.x
cache: "yarn"
- name: Install dependencies
- name: Install root dependencies
run: yarn --frozen-lockfile --network-concurrency 1
working-directory: .
- name: Build SDK
run: |
yarn build
chmod +x ./scripts/copy_circuits.sh
bash ./scripts/copy_circuits.sh
working-directory: packages/sdk
- name: Link SDK
run: |
cd ../sdk && yarn link
cd ../contracts && yarn link "@privacy-pool-core/sdk"
shell: bash
- name: Precompile
run: yarn build