File tree Expand file tree Collapse file tree 2 files changed +10134
-7517
lines changed
Expand file tree Collapse file tree 2 files changed +10134
-7517
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,26 @@ jobs:
1919 with :
2020 fetch-depth : 0
2121
22+ - uses : actions/setup-node@v3
23+ with :
24+ node-version : 20.12.2
25+
26+ - uses : pnpm/action-setup@v2
27+ with :
28+ version : 9.0.6
29+
2230 - uses : actions/cache@v3
2331 with :
24- path : ' **/node_modules'
25- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
32+ path : ~/.pnpm-store
33+ key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
34+ restore-keys : |
35+ ${{ runner.os }}-pnpm-
2636
27- - name : Install packages
28- if : steps.yarn-cache.outputs.cache-hit != 'true'
29- run : yarn install
37+ - name : Install dependencies
38+ run : pnpm install --frozen-lockfile
3039
3140 - name : Run lint
32- run : yarn lint
41+ run : pnpm lint
3342
3443 # <explorer.stage.ssv.network>
3544 - name : Run stage build
4150 ANNOUNCEMENT : ${{ secrets.STAGE_ANNOUNCEMENT }}
4251 GOOGLE_TAG_SECRET : ${{ secrets.STAGE_GOOGLE_TAG_SECRET }}
4352 MIXPANEL_TOKEN : ${{ secrets.MIXPANEL_TOKEN_STAGE }}
44- run : yarn build
53+ run : pnpm build
4554
4655 - name : Deploy staging
4756 if : github.ref == 'refs/heads/stage'
6877 LINK_SSV_WEBAPP : ${{ secrets.PROD_LINK_SSV_WEBAPP_V4 }}
6978 GOOGLE_TAG_SECRET : ${{ secrets.PROD_GOOGLE_TAG_SECRET_V4 }}
7079 MIXPANEL_TOKEN : ${{ secrets.MIXPANEL_TOKEN_PROD }}
71- run : yarn build
80+ run : pnpm build
7281
7382 - name : Deploy prod
7483 if : github.ref == 'refs/heads/main'
95104 LINK_SSV_WEBAPP : ${{ secrets.PROD_LINK_SSV_WEBAPP_V4 }}
96105 GOOGLE_TAG_SECRET : ${{ secrets.PROD_GOOGLE_TAG_SECRET_V4_TESTNET }}
97106 MIXPANEL_TOKEN : ${{ secrets.MIXPANEL_TOKEN_PROD }}
98- run : yarn build
107+ run : pnpm build
99108
100109 - name : Deploy prod testnet
101110 if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments