fix: install deps before running build

This commit is contained in:
rymnc 2024-05-22 18:34:28 +05:30
parent 309fc1ead7
commit d134e3c78e
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34

View File

@ -59,6 +59,20 @@ jobs:
- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"
- name: "Install Pnpm"
uses: "pnpm/action-setup@v2"
with:
version: "8"
- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "pnpm"
node-version: "lts/*"
- name: "Install the Node.js dependencies"
run: "pnpm install"
- name: "Build the contracts and print their size"
run: "forge build --sizes"