2929 with :
3030 submodules : recursive
3131
32+ - name : Install Pnpm
33+ uses : pnpm/action-setup@v2
34+ with :
35+ version : 8
36+ run_install : false
37+
38+ - name : Install Node.js
39+ uses : actions/setup-node@v3
40+ with :
41+ node-version : 18
42+ cache : pnpm
43+
44+ - name : Get pnpm store directory
45+ shell : bash
46+ run : |
47+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
48+
49+ - uses : actions/cache@v3
50+ name : Setup pnpm cache
51+ with :
52+ path : ${{ env.STORE_PATH }}
53+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
54+ restore-keys : |
55+ ${{ runner.os }}-pnpm-store-
56+
57+ - name : Install dependencies
58+ run : pnpm install --frozen-lockfile
59+
3260 - name : Install Foundry
3361 uses : foundry-rs/foundry-toolchain@v1
3462
6189 with :
6290 submodules : recursive
6391
92+ - name : Install Pnpm
93+ uses : pnpm/action-setup@v2
94+ with :
95+ version : 8
96+ run_install : false
97+
98+ - name : Install Node.js
99+ uses : actions/setup-node@v3
100+ with :
101+ node-version : 18
102+ cache : pnpm
103+
104+ - name : Get pnpm store directory
105+ shell : bash
106+ run : |
107+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
108+
109+ - uses : actions/cache@v3
110+ name : Setup pnpm cache
111+ with :
112+ path : ${{ env.STORE_PATH }}
113+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
114+ restore-keys : |
115+ ${{ runner.os }}-pnpm-store-
116+
117+ - name : Install dependencies
118+ run : pnpm install --frozen-lockfile
119+
64120 - name : Install Foundry
65121 uses : foundry-rs/foundry-toolchain@v1
66122
@@ -83,6 +139,34 @@ jobs:
83139 with :
84140 submodules : recursive
85141
142+ - name : Install Pnpm
143+ uses : pnpm/action-setup@v2
144+ with :
145+ version : 8
146+ run_install : false
147+
148+ - name : Install Node.js
149+ uses : actions/setup-node@v3
150+ with :
151+ node-version : 18
152+ cache : pnpm
153+
154+ - name : Get pnpm store directory
155+ shell : bash
156+ run : |
157+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
158+
159+ - uses : actions/cache@v3
160+ name : Setup pnpm cache
161+ with :
162+ path : ${{ env.STORE_PATH }}
163+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
164+ restore-keys : |
165+ ${{ runner.os }}-pnpm-store-
166+
167+ - name : Install dependencies
168+ run : pnpm install --frozen-lockfile
169+
86170 - name : Install Foundry
87171 uses : foundry-rs/foundry-toolchain@v1
88172
@@ -104,7 +188,7 @@ jobs:
104188 uses : terencetcf/github-actions-lcov-minimum-coverage-checker@v1
105189 with :
106190 coverage-file : lcov.info
107- minimum-coverage : 96
191+ minimum-coverage : 95
108192
109193 - name : Add coverage summary
110194 run : |
@@ -168,6 +252,39 @@ jobs:
168252 if : steps.check-changes.outputs.changed == 'true'
169253 run : pnpm install --frozen-lockfile
170254
255+ - name : Install Pnpm
256+ if : steps.check-changes.outputs.changed == 'true'
257+ uses : pnpm/action-setup@v2
258+ with :
259+ version : 8
260+ run_install : false
261+
262+ - name : Install Node.js
263+ if : steps.check-changes.outputs.changed == 'true'
264+ uses : actions/setup-node@v3
265+ with :
266+ node-version : 18
267+ cache : pnpm
268+
269+ - name : Get pnpm store directory
270+ if : steps.check-changes.outputs.changed == 'true'
271+ shell : bash
272+ run : |
273+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
274+
275+ - uses : actions/cache@v3
276+ if : steps.check-changes.outputs.changed == 'true'
277+ name : Setup pnpm cache
278+ with :
279+ path : ${{ env.STORE_PATH }}
280+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
281+ restore-keys : |
282+ ${{ runner.os }}-pnpm-store-
283+
284+ - name : Install dependencies
285+ if : steps.check-changes.outputs.changed == 'true'
286+ run : pnpm install --frozen-lockfile
287+
171288 - name : Install Foundry
172289 if : steps.check-changes.outputs.changed == 'true'
173290 uses : foundry-rs/foundry-toolchain@v1
@@ -197,16 +314,16 @@ jobs:
197314 if : steps.check-changes.outputs.changed == 'true'
198315 run : pnpm run check:upgradeability linea
199316
200- - name : Create Arbitrum testnet env file
317+ - name : Create Arbitrum Sepolia env file
201318 if : steps.check-changes.outputs.changed == 'true'
202319 run : |
203320 rm .env
204- cp ./env/.env.arbitrum-goerli .env
321+ cp ./env/.env.arbitrum-sepolia .env
205322 echo INFURA_KEY=${{ secrets.INFURA_KEY }} >> .env
206323
207- - name : Check contracts upgradeability on Arbitrum testnet
324+ - name : Check contracts upgradeability on Arbitrum Sepolia
208325 if : steps.check-changes.outputs.changed == 'true'
209- run : pnpm run check:upgradeability arbitrum-goerli
326+ run : pnpm run check:upgradeability arbitrum-sepolia
210327
211328 - name : Create Arbitrum mainnet env file
212329 if : steps.check-changes.outputs.changed == 'true'
0 commit comments