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:
3838 registry.yarnpkg.com:443
3939 registry.npmjs.org:443
4040 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
4641
4742 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4843 with :
4944 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+
5158 - name : Cache node modules
5259 uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
5360 env :
6168 ${{ runner.os }}-build-${{ secrets.CACHE_VERSION }}-${{ env.cache-name }}-
6269
6370 - 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
6574
6675 - name : Install Foundry
6776 uses : foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
You can’t perform that action at this time.
0 commit comments