Skip to content

Commit 72a0c85

Browse files
committed
fix: contracts testing workflow
1 parent 9fe680f commit 72a0c85

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/contracts-testing.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,21 @@ jobs:
3939
registry.npmjs.org:443
4040
54.185.253.63:443
4141
42+
- name: Set up corepack (for yarn)
43+
run: |
44+
corepack enable
45+
corepack prepare yarn@4.5.1 --activate
46+
yarn set version 4.5.1
47+
4248
- name: Setup Node.js environment
4349
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
4450
with:
45-
node-version: 18.x
51+
node-version: 20.x
52+
cache: yarn
4653

4754
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4855
with:
4956
submodules: recursive
50-
51-
- name: Set up corepack (for yarn)
52-
run: corepack enable
53-
54-
- name: Get yarn cache
55-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
56-
with:
57-
cache: yarn
5857

5958
- name: Cache node modules
6059
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
@@ -70,7 +69,6 @@ jobs:
7069
7170
- name: Install contracts dependencies
7271
run: |
73-
yarn set version 4.5.1
7472
yarn workspace @kleros/kleros-v2-contracts install
7573
7674
- name: Install Foundry

0 commit comments

Comments
 (0)