@@ -161,7 +161,9 @@ jobs:
161161 with :
162162 ref : ${{ env.HEAD_COMMIT }}
163163 - name : Set up Node
164- uses : volta-cli/action@v4
164+ uses : actions/setup-node@v3
165+ with :
166+ node-version-file : ' package.json'
165167 # we use a hash of yarn.lock as our cache key, because if it hasn't changed, our dependencies haven't changed,
166168 # so no need to reinstall them
167169 - name : Compute dependency cache key
@@ -207,8 +209,9 @@ jobs:
207209 with :
208210 ref : ${{ env.HEAD_COMMIT }}
209211 - name : Set up Node
210- uses : volta-cli/action@v4
211-
212+ uses : actions/setup-node@v3
213+ with :
214+ node-version-file : ' package.json'
212215 - name : Check dependency cache
213216 uses : actions/cache/restore@v3
214217 with :
@@ -262,7 +265,9 @@ jobs:
262265 with :
263266 ref : ${{ env.HEAD_COMMIT }}
264267 - name : Set up Node
265- uses : volta-cli/action@v4
268+ uses : actions/setup-node@v3
269+ with :
270+ node-version-file : ' package.json'
266271 - name : Restore caches
267272 uses : ./.github/actions/restore-cache
268273 env :
@@ -331,7 +336,9 @@ jobs:
331336 with :
332337 ref : ${{ env.HEAD_COMMIT }}
333338 - name : Set up Node
334- uses : volta-cli/action@v4
339+ uses : actions/setup-node@v3
340+ with :
341+ node-version-file : ' package.json'
335342 - name : Restore caches
336343 uses : ./.github/actions/restore-cache
337344 env :
@@ -352,7 +359,9 @@ jobs:
352359 with :
353360 ref : ${{ env.HEAD_COMMIT }}
354361 - name : Set up Node
355- uses : volta-cli/action@v4
362+ uses : actions/setup-node@v3
363+ with :
364+ node-version-file : ' package.json'
356365 - name : Restore caches
357366 uses : ./.github/actions/restore-cache
358367 env :
@@ -372,7 +381,9 @@ jobs:
372381 with :
373382 ref : ${{ env.HEAD_COMMIT }}
374383 - name : Set up Node
375- uses : volta-cli/action@v4
384+ uses : actions/setup-node@v3
385+ with :
386+ node-version-file : ' package.json'
376387 - name : Restore caches
377388 uses : ./.github/actions/restore-cache
378389 env :
@@ -422,7 +433,7 @@ jobs:
422433 strategy :
423434 fail-fast : false
424435 matrix :
425- node : [8, 10, 12, 14, 16, 18]
436+ node : [8, 10, 12, 14, 16, 18, 20 ]
426437 steps :
427438 - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
428439 uses : actions/checkout@v3
@@ -526,7 +537,9 @@ jobs:
526537 with :
527538 ref : ${{ env.HEAD_COMMIT }}
528539 - name : Set up Node
529- uses : volta-cli/action@v4
540+ uses : actions/setup-node@v3
541+ with :
542+ node-version-file : ' package.json'
530543 - name : Restore caches
531544 uses : ./.github/actions/restore-cache
532545 env :
@@ -570,6 +583,7 @@ jobs:
570583 bundle :
571584 - loader_base
572585 - loader_eager
586+ - loader_debug
573587 - loader_tracing
574588 - loader_replay
575589 - loader_tracing_replay
@@ -580,7 +594,9 @@ jobs:
580594 with :
581595 ref : ${{ env.HEAD_COMMIT }}
582596 - name : Set up Node
583- uses : volta-cli/action@v4
597+ uses : actions/setup-node@v3
598+ with :
599+ node-version-file : ' package.json'
584600 - name : Restore caches
585601 uses : ./.github/actions/restore-cache
586602 env :
@@ -631,7 +647,9 @@ jobs:
631647 with :
632648 ref : ${{ env.HEAD_COMMIT }}
633649 - name : Set up Node
634- uses : volta-cli/action@v4
650+ uses : actions/setup-node@v3
651+ with :
652+ node-version-file : ' package.json'
635653 - name : Restore caches
636654 uses : ./.github/actions/restore-cache
637655 env :
@@ -655,7 +673,9 @@ jobs:
655673 with :
656674 ref : ${{ env.HEAD_COMMIT }}
657675 - name : Set up Node
658- uses : volta-cli/action@v4
676+ uses : actions/setup-node@v3
677+ with :
678+ node-version-file : ' package.json'
659679 - name : Restore caches
660680 uses : ./.github/actions/restore-cache
661681 env :
@@ -678,7 +698,7 @@ jobs:
678698 strategy :
679699 fail-fast : false
680700 matrix :
681- node : [10, 12, 14, 16, 18]
701+ node : [10, 12, 14, 16, 18, 20 ]
682702 steps :
683703 - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
684704 uses : actions/checkout@v3
@@ -730,7 +750,7 @@ jobs:
730750 yarn test:integration:ci
731751
732752 job_e2e_tests :
733- name : E2E Tests
753+ name : E2E Tests (Shard ${{ matrix.shard }})
734754 # We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
735755 # Dependabot PRs sadly also don't have access to secrets, so we skip them as well
736756 if :
@@ -739,13 +759,19 @@ jobs:
739759 needs : [job_get_metadata, job_build]
740760 runs-on : ubuntu-20.04
741761 timeout-minutes : 20
762+ strategy :
763+ fail-fast : false
764+ matrix :
765+ shard : [1, 2, 3]
742766 steps :
743767 - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
744768 uses : actions/checkout@v3
745769 with :
746770 ref : ${{ env.HEAD_COMMIT }}
747771 - name : Set up Node
748- uses : volta-cli/action@v4
772+ uses : actions/setup-node@v3
773+ with :
774+ node-version-file : ' package.json'
749775 - name : Restore caches
750776 uses : ./.github/actions/restore-cache
751777 env :
@@ -761,6 +787,8 @@ jobs:
761787 E2E_TEST_DSN : ${{ secrets.E2E_TEST_DSN }}
762788 E2E_TEST_SENTRY_ORG_SLUG : ' sentry-javascript-sdks'
763789 E2E_TEST_SENTRY_TEST_PROJECT : ' sentry-javascript-e2e-tests'
790+ E2E_TEST_SHARD : ${{ matrix.shard }}
791+ E2E_TEST_SHARD_AMOUNT : 3
764792 run : |
765793 cd packages/e2e-tests
766794 yarn test:e2e
@@ -803,7 +831,9 @@ jobs:
803831 with :
804832 ref : ${{ env.HEAD_COMMIT }}
805833 - name : Set up Node
806- uses : volta-cli/action@v4
834+ uses : actions/setup-node@v3
835+ with :
836+ node-version-file : ' package.json'
807837 - name : Restore caches
808838 uses : ./.github/actions/restore-cache
809839 env :
0 commit comments