2121 outputs :
2222 should-run : ${{ steps.changes.outputs.should-run }}
2323 steps :
24- - uses : actions/checkout@v7
24+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525 - id : changes
2626 uses : ./.github/actions/changes-filter
2727
@@ -31,15 +31,17 @@ jobs:
3131 runs-on : ubuntu-latest
3232 steps :
3333 - name : Checkout repository
34- uses : actions/checkout@v7
34+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3535 - name : Setup frontend
3636 uses : ./.github/actions/setup-frontend
3737 with :
3838 include_build_step : true
39+ env :
40+ COLLECT_COVERAGE : ' true'
3941
4042 # Upload only built dist/ (containerized test jobs will pnpm install without cache)
4143 - name : Upload built frontend
42- uses : actions/upload-artifact@v6
44+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4345 with :
4446 name : frontend-dist
4547 path : dist/
6870 shardTotal : [16]
6971 steps :
7072 - name : Checkout repository
71- uses : actions/checkout@v7
73+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7274 - name : Download built frontend
73- uses : actions/download-artifact@v8
75+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7476 with :
7577 name : frontend-dist
7678 path : dist/
9092 COLLECT_COVERAGE : ' true'
9193
9294 - name : Upload blob report
93- uses : actions/upload-artifact@v6
95+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
9496 if : ${{ !cancelled() }}
9597 with :
9698 name : blob-report-chromium-${{ matrix.shardIndex }}
99101
100102 - name : Upload shard coverage data
101103 if : always()
102- uses : actions/upload-artifact@v6
104+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
103105 with :
104106 name : e2e-coverage-shard-${{ matrix.shardIndex }}
105107 path : coverage/playwright/
@@ -126,9 +128,9 @@ jobs:
126128 [chromium-2x, chromium-0.5x, mobile-chrome, cloud, mobile-safari]
127129 steps :
128130 - name : Checkout repository
129- uses : actions/checkout@v7
131+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
130132 - name : Download built frontend
131- uses : actions/download-artifact@v8
133+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
132134 with :
133135 name : ${{ (matrix.browser == 'cloud' || matrix.browser == 'mobile-safari') && 'frontend-dist-cloud' || 'frontend-dist' }}
134136 path : dist/
@@ -156,7 +158,7 @@ jobs:
156158 pnpm exec playwright merge-reports --reporter=json ./blob-report
157159
158160 - name : Upload Playwright report
159- uses : actions/upload-artifact@v6
161+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
160162 if : always()
161163 with :
162164 name : playwright-report-${{ matrix.browser }}
@@ -175,7 +177,7 @@ jobs:
175177 version : 10
176178
177179 - name : Download blob reports
178- uses : actions/download-artifact@v8
180+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
179181 with :
180182 path : ./all-blob-reports
181183 pattern : blob-report-chromium-*
@@ -190,7 +192,7 @@ jobs:
190192 pnpm dlx @playwright/test merge-reports --reporter=json ./all-blob-reports
191193
192194 - name : Upload HTML report
193- uses : actions/upload-artifact@v6
195+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
194196 with :
195197 name : playwright-report-chromium
196198 path : ./playwright-report/
@@ -232,7 +234,7 @@ jobs:
232234 has-new-tests : ${{ steps.detect.outputs.has-new-tests }}
233235 steps :
234236 - name : Checkout repository
235- uses : actions/checkout@v7
237+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
236238 with :
237239 fetch-depth : 0
238240
@@ -260,7 +262,7 @@ jobs:
260262
261263 - name : Download built frontend
262264 if : steps.detect.outputs.has-new-tests == 'true'
263- uses : actions/download-artifact@v8
265+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
264266 with :
265267 name : frontend-dist
266268 path : dist/
@@ -285,7 +287,7 @@ jobs:
285287
286288 - name : Upload new-test report (with embedded video)
287289 if : ${{ !cancelled() && steps.detect.outputs.has-new-tests == 'true' }}
288- uses : actions/upload-artifact@v6
290+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
289291 with :
290292 name : playwright-report-new-tests
291293 path : ./playwright-report/
@@ -314,7 +316,7 @@ jobs:
314316 pull-requests : write
315317 steps :
316318 - name : Checkout repository
317- uses : actions/checkout@v7
319+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
318320
319321 - name : Upsert playwright starting section into unified report
320322 uses : ./.github/actions/upsert-comment-section
@@ -345,10 +347,10 @@ jobs:
345347 contents : read
346348 steps :
347349 - name : Checkout repository
348- uses : actions/checkout@v7
350+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
349351
350352 - name : Download all playwright reports
351- uses : actions/download-artifact@v8
353+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
352354 with :
353355 pattern : playwright-report-*
354356 path : reports
0 commit comments