mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
chore: integrate SDK into contracts tests (#47)
Co-authored-by: Lempire <61431140+lempire123@users.noreply.github.com>
This commit is contained in:
16
.github/workflows/contracts.yml
vendored
16
.github/workflows/contracts.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user