@@ -22,12 +22,12 @@ jobs:
2222 fetch-depth : 0
2323
2424 - name : Setup node
25- uses : actions/setup-node@v3
25+ uses : actions/setup-node@v4
2626 with :
2727 node-version : 20
2828
2929 - name : Install pnpm
30- uses : pnpm/action-setup@v2
30+ uses : pnpm/action-setup@v4
3131 with :
3232 version : 9
3333 run_install : false
3939
4040 - name : Cache node_modules
4141 id : cache-node-modules
42- uses : actions/cache@v3
42+ uses : actions/cache@v4
4343 env :
4444 cache-name : cache-codecov-js-bundle-plugin-node-modules
4545 with :
@@ -62,12 +62,12 @@ jobs:
6262 fetch-depth : 0
6363
6464 - name : Setup node
65- uses : actions/setup-node@v3
65+ uses : actions/setup-node@v4
6666 with :
6767 node-version : 20
6868
6969 - name : Install pnpm
70- uses : pnpm/action-setup@v2
70+ uses : pnpm/action-setup@v4
7171 with :
7272 version : 9
7373 run_install : false
7979
8080 - name : Cache node_modules
8181 id : cache-node-modules
82- uses : actions/cache@v3
82+ uses : actions/cache@v4
8383 env :
8484 cache-name : cache-codecov-js-bundle-plugin-node-modules
8585 with :
@@ -108,12 +108,12 @@ jobs:
108108 fetch-depth : 0
109109
110110 - name : Setup node
111- uses : actions/setup-node@v3
111+ uses : actions/setup-node@v4
112112 with :
113113 node-version : 20
114114
115115 - name : Install pnpm
116- uses : pnpm/action-setup@v2
116+ uses : pnpm/action-setup@v4
117117 with :
118118 version : 9
119119 run_install : false
@@ -125,7 +125,7 @@ jobs:
125125
126126 - name : Cache node_modules
127127 id : cache-node-modules
128- uses : actions/cache@v3
128+ uses : actions/cache@v4
129129 env :
130130 cache-name : cache-codecov-js-bundle-plugin-node-modules
131131 with :
@@ -154,12 +154,12 @@ jobs:
154154 fetch-depth : 0
155155
156156 - name : Setup node
157- uses : actions/setup-node@v3
157+ uses : actions/setup-node@v4
158158 with :
159159 node-version : 20
160160
161161 - name : Install pnpm
162- uses : pnpm/action-setup@v2
162+ uses : pnpm/action-setup@v4
163163 with :
164164 version : 9
165165 run_install : false
@@ -171,7 +171,7 @@ jobs:
171171
172172 - name : Cache node_modules
173173 id : cache-node-modules
174- uses : actions/cache@v3
174+ uses : actions/cache@v4
175175 env :
176176 cache-name : cache-codecov-js-bundle-plugin-node-modules
177177 with :
@@ -237,12 +237,12 @@ jobs:
237237 fetch-depth : 0
238238
239239 - name : Setup node
240- uses : actions/setup-node@v3
240+ uses : actions/setup-node@v4
241241 with :
242242 node-version : ${{ matrix.node-version }}
243243
244244 - name : Install pnpm
245- uses : pnpm/action-setup@v2
245+ uses : pnpm/action-setup@v4
246246 with :
247247 version : 9
248248 run_install : false
@@ -254,7 +254,7 @@ jobs:
254254
255255 - name : Cache node_modules
256256 id : cache-node-modules
257- uses : actions/cache@v3
257+ uses : actions/cache@v4
258258 env :
259259 cache-name : cache-codecov-js-bundle-plugin-node-modules
260260 with :
@@ -288,12 +288,12 @@ jobs:
288288 fetch-depth : 0
289289
290290 - name : Setup node
291- uses : actions/setup-node@v3
291+ uses : actions/setup-node@v4
292292 with :
293293 node-version : 20
294294
295295 - name : Install pnpm
296- uses : pnpm/action-setup@v2
296+ uses : pnpm/action-setup@v4
297297 with :
298298 version : 9
299299 run_install : false
@@ -305,7 +305,7 @@ jobs:
305305
306306 - name : Cache node_modules
307307 id : cache-node-modules
308- uses : actions/cache@v3
308+ uses : actions/cache@v4
309309 env :
310310 cache-name : cache-codecov-js-bundle-plugin-node-modules
311311 with :
@@ -326,6 +326,8 @@ jobs:
326326 - name : Build ${{ matrix.example }} app for production
327327 working-directory : ./examples/${{ matrix.example }}
328328 env :
329+ HEAD_SHA : ${{ github.event.pull_request.head.sha }}
330+ BASE_SHA : ${{ github.event.pull_request.base.sha }}
329331 NEXT_UPLOAD_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN }}
330332 NEXT_API_URL : ${{ secrets.CODECOV_API_URL }}
331333 NUXT_UPLOAD_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN }}
@@ -358,12 +360,12 @@ jobs:
358360 fetch-depth : 0
359361
360362 - name : Setup node
361- uses : actions/setup-node@v3
363+ uses : actions/setup-node@v4
362364 with :
363365 node-version : 20
364366
365367 - name : Install pnpm
366- uses : pnpm/action-setup@v2
368+ uses : pnpm/action-setup@v4
367369 with :
368370 version : 9
369371 run_install : false
@@ -375,7 +377,7 @@ jobs:
375377
376378 - name : Cache node_modules
377379 id : cache-node-modules
378- uses : actions/cache@v3
380+ uses : actions/cache@v4
379381 env :
380382 cache-name : cache-codecov-js-bundle-plugin-node-modules
381383 with :
@@ -396,6 +398,8 @@ jobs:
396398 - name : Build ${{ matrix.example }} app for staging
397399 working-directory : ./examples/${{ matrix.example }}
398400 env :
401+ HEAD_SHA : ${{ github.event.pull_request.head.sha }}
402+ BASE_SHA : ${{ github.event.pull_request.base.sha }}
399403 NEXT_UPLOAD_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
400404 NEXT_API_URL : ${{ secrets.CODECOV_STAGING_API_URL }}
401405 NUXT_UPLOAD_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN }}
@@ -436,12 +440,12 @@ jobs:
436440 fetch-depth : 0
437441
438442 - name : Setup node
439- uses : actions/setup-node@v3
443+ uses : actions/setup-node@v4
440444 with :
441445 node-version : 20
442446
443447 - name : Install pnpm
444- uses : pnpm/action-setup@v2
448+ uses : pnpm/action-setup@v4
445449 with :
446450 version : 9
447451 run_install : false
@@ -453,7 +457,7 @@ jobs:
453457
454458 - name : Cache node_modules
455459 id : cache-node-modules
456- uses : actions/cache@v3
460+ uses : actions/cache@v4
457461 env :
458462 cache-name : cache-codecov-js-bundle-plugin-node-modules
459463 with :
@@ -502,12 +506,12 @@ jobs:
502506 fetch-depth : 0
503507
504508 - name : Setup node
505- uses : actions/setup-node@v3
509+ uses : actions/setup-node@v4
506510 with :
507511 node-version : 20
508512
509513 - name : Install pnpm
510- uses : pnpm/action-setup@v2
514+ uses : pnpm/action-setup@v4
511515 with :
512516 version : 9
513517 run_install : false
@@ -519,7 +523,7 @@ jobs:
519523
520524 - name : Cache node_modules
521525 id : cache-node-modules
522- uses : actions/cache@v3
526+ uses : actions/cache@v4
523527 env :
524528 cache-name : cache-codecov-js-bundle-plugin-node-modules
525529 with :
0 commit comments