mirror of
https://github.com/vacp2p/rln-contract.git
synced 2025-01-24 05:20:16 +00:00
fix: ci, add pnpm to github action
This commit is contained in:
parent
647cec6fa8
commit
46a7dc5d64
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
@ -56,6 +56,20 @@ jobs:
|
|||||||
- name: "Install Foundry"
|
- name: "Install Foundry"
|
||||||
uses: "foundry-rs/foundry-toolchain@v1"
|
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"
|
- name: "Build the contracts and print their size"
|
||||||
run: "forge build --sizes"
|
run: "forge build --sizes"
|
||||||
|
|
||||||
@ -76,6 +90,20 @@ jobs:
|
|||||||
- name: "Install Foundry"
|
- name: "Install Foundry"
|
||||||
uses: "foundry-rs/foundry-toolchain@v1"
|
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: "Show the Foundry config"
|
- name: "Show the Foundry config"
|
||||||
run: "forge config"
|
run: "forge config"
|
||||||
|
|
||||||
@ -102,6 +130,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
|
- 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: "Install Foundry"
|
- name: "Install Foundry"
|
||||||
uses: "foundry-rs/foundry-toolchain@v1"
|
uses: "foundry-rs/foundry-toolchain@v1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user