Skip to content

Commit a87edbd

Browse files
committed
fix: sentry workflow again
1 parent 3b21b76 commit a87edbd

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

.github/workflows/sentry-release.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,33 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
2020

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+
2134
- name: Set up Node.js
2235
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
2336
with:
2437
node-version: 16
2538

2639
- 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
2843
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
3148
3249
- name: Set version
3350
id: set-version

0 commit comments

Comments
 (0)