File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,14 @@ defaults:
2323
2424jobs :
2525 playground :
26- name : Test playground
26+ name : yarn test (Shard ${{ matrix.shard }})
2727 runs-on : ubuntu-latest
28+ strategy :
29+ matrix :
30+ shard :
31+ - 1/3
32+ - 2/3
33+ - 3/3
2834 steps :
2935 - uses : actions/checkout@v4
3036 - uses : actions/setup-node@v4
@@ -38,13 +44,10 @@ jobs:
3844 with :
3945 path : " **/node_modules"
4046 key : compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
41- - name : yarn install compiler
42- run : yarn install --frozen-lockfile
43- working-directory : compiler
4447 - name : yarn install playground
4548 run : yarn install --frozen-lockfile
4649 - run : npx playwright install --with-deps chromium
47- - run : CI=true yarn test
50+ - run : CI=true yarn test --shard=${{ matrix.shard }}
4851 - run : ls -R test-results
4952 if : ' !cancelled()'
5053 - name : Archive test results
You can’t perform that action at this time.
0 commit comments