File tree 1 file changed +20
-3
lines changed
1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,33 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
20
20
21
+ - name : Cache node modules
22
+ uses : actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
23
+ env :
24
+ cache-name : cache-node-modules
25
+ with :
26
+ path : |
27
+ ~/.npm
28
+ **/node_modules
29
+ key : |
30
+ ${{ runner.os }}-build-${{ secrets.CACHE_VERSION }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-build-${{ secrets.CACHE_VERSION }}-${{ env.cache-name }}-
33
+
21
34
- name : Set up Node.js
22
35
uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
23
36
with :
24
37
node-version : 16
25
38
26
39
- name : Install dependencies
27
- run : yarn workspace @kleros/kleros-v2-web install
40
+ run : |
41
+ yarn workspace @kleros/kleros-v2-contracts install
42
+ yarn workspace @kleros/kleros-v2-web install
28
43
29
- - name : Build and deploy subgraph
30
- run : yarn workspace @kleros/kleros-v2-web build
44
+ - name : Build
45
+ run : |
46
+ yarn workspace @kleros/kleros-v2-contracts build
47
+ yarn workspace @kleros/kleros-v2-web build
31
48
32
49
- name : Set version
33
50
id : set-version
You can’t perform that action at this time.
0 commit comments