Skip to content

Commit

Permalink
install only the smart contract dependencies for circles-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
jaensen committed Mar 6, 2024
1 parent 6fdb372 commit b6143d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21' # Adjust this to your project's Node.js version
node-version: '21'

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Build Contracts
run: |
npm i
./buildContracts.sh
- name: Build SDK
Expand Down
5 changes: 3 additions & 2 deletions buildContracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ git submodule update --init --recursive --remote
# Remove the v1 package from the workspaces
jq 'del(.workspaces[0])' package.json > temp.package.json
mv temp.package.json package.json
npm install

# Build the v1 contracts
cd ./packages/circles-contracts
npm install
npm install @openzeppelin/contracts@^3.4.0-solc-0.7
npm install @gnosis.pm/safe-contracts@^1.3.0
npm install @circles/safe-contracts@=1.0.14
forge build
cd ../..

Expand Down

0 comments on commit b6143d8

Please sign in to comment.