File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ jobs:
202
202
- run : pnpm install
203
203
204
204
- if : github.repository == 'rust-lang/crates.io'
205
- run : pnpm percy exec -- pnpm test-coverage
205
+ run : pnpm percy exec --parallel -- pnpm test-coverage
206
206
207
207
- if : github.repository != 'rust-lang/crates.io'
208
208
run : pnpm test-coverage
@@ -238,11 +238,36 @@ jobs:
238
238
- run : pnpm playwright install chromium
239
239
240
240
- if : github.repository == 'rust-lang/crates.io'
241
- run : pnpm percy exec -- pnpm e2e
241
+ run : pnpm percy exec --parallel -- pnpm e2e
242
242
243
243
- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
244
244
if : ${{ !cancelled() }}
245
245
with :
246
246
name : playwright-report
247
247
path : playwright-report/
248
248
retention-days : 14
249
+
250
+ finalize-percy :
251
+ needs : [frontend-test, e2e-test]
252
+ runs-on : ubuntu-22.04
253
+
254
+ env :
255
+ JOBS : 1 # See https://git.io/vdao3 for details.
256
+
257
+ # Percy secrets are included here to enable Percy's GitHub integration
258
+ # on community-submitted PRs
259
+ PERCY_TOKEN : web_0a783d8086b6f996809f3e751d032dd6d156782082bcd1423b9b860113c75054
260
+
261
+ steps :
262
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
263
+
264
+ - uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
265
+ with :
266
+ version : ${{ env.PNPM_VERSION }}
267
+
268
+ - uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
269
+ with :
270
+ cache : pnpm
271
+ node-version-file : package.json
272
+ - run : pnpm install
273
+ - run : pnpm percy build:finalize
You can’t perform that action at this time.
0 commit comments