@@ -31,19 +31,20 @@ jobs:
3131 - run : pnpm -C packages/plugin-rsc test
3232
3333 test-e2e :
34- name : test-rsc (${{ matrix.os }} - ${{ matrix.browser }} - ${{ matrix.shared }}/${{ matrix.shardTotal }})
34+ name : test-rsc (${{ matrix.os }} - ${{ matrix.browser }} - ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
3535 runs-on : ${{ matrix.os }}
3636 strategy :
3737 matrix :
38- shared : [1, 2]
38+ shardIndex : [1, 2]
3939 shardTotal : [2]
40- os : [ubuntu-latest, macos-latest, windows-latest]
41- browser : [chromium]
42- include :
43- - os : ubuntu-latest
44- browser : firefox
45- - os : macos-latest
46- browser : webkit
40+ config :
41+ - { os: ubuntu-latest, browser: chromium }
42+ - { os: macos-latest, browser: chromium }
43+ - { os: windows-latest, browser: chromium }
44+ - { os: ubuntu-latest, browser: firefox }
45+ - { os: macos-latest, browser: webkit }
46+ os : ${{ matrix.config.os }}
47+ browser : ${{ matrix.config.browser }}
4748 fail-fast : false
4849 steps :
4950 - uses : actions/checkout@v4
@@ -54,12 +55,12 @@ jobs:
5455 - run : pnpm i
5556 - run : pnpm build
5657 - run : pnpm -C packages/plugin-rsc exec playwright install ${{ matrix.browser }}
57- - run : pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }} --shard=${{ matrix.shared }}/${{ matrix.shardTotal }}
58+ - run : pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }} --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
5859 env :
5960 TEST_ISOLATED : true
6061 - uses : actions/upload-artifact@v4
6162 if : always()
6263 with :
63- name : test-results-${{ matrix.os }}-${{ matrix.browser }}-${{ matrix.shared }}
64+ name : test-results-${{ matrix.os }}-${{ matrix.browser }}-${{ matrix.shardIndex }}
6465 path : |
6566 packages/plugin-rsc/test-results
0 commit comments