File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,23 @@ jobs:
38
38
registry.yarnpkg.com:443
39
39
registry.npmjs.org:443
40
40
54.185.253.63:443
41
-
42
- - name : Setup Node.js environment
43
- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
44
- with :
45
- node-version : 18.x
46
41
47
42
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48
43
with :
49
44
submodules : recursive
50
-
45
+
46
+ - name : Set up corepack (for yarn)
47
+ run : |
48
+ corepack enable
49
+ corepack prepare yarn@4.5.1 --activate
50
+ yarn set version 4.5.1
51
+
52
+ - name : Setup Node.js environment
53
+ uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
54
+ with :
55
+ node-version : 20.x
56
+ cache : yarn
57
+
51
58
- name : Cache node modules
52
59
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
53
60
env :
61
68
${{ runner.os }}-build-${{ secrets.CACHE_VERSION }}-${{ env.cache-name }}-
62
69
63
70
- name : Install contracts dependencies
64
- run : yarn workspace @kleros/kleros-v2-contracts install
71
+ run : |
72
+ # TODO: re-enable hardened mode once the kleros-app resolution is fixed
73
+ YARN_ENABLE_HARDENED_MODE=0 yarn workspace @kleros/kleros-v2-contracts install
65
74
66
75
- name : Install Foundry
67
76
uses : foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
You can’t perform that action at this time.
0 commit comments