File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,13 @@ jobs:
5959 uses : wagoid/commitlint-github-action@v4
6060
6161 test :
62- name : Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
62+ name : Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }} (${{ matrix.shard }})
6363
6464 strategy :
6565 matrix :
6666 os : [ubuntu-latest, windows-latest, macos-latest]
6767 node-version : [12.x, 14.x, 16.x, 17.x]
68+ shard : ["1/4", "2/4", "3/4", "4/4"]
6869 webpack-version : [latest]
6970 include :
7071 - node-version : 16.x
@@ -102,7 +103,7 @@ jobs:
102103 cp -R tmp-client client
103104
104105 - name : Run tests for webpack version ${{ matrix.webpack-version }}
105- run : npm run test:coverage -- --ci
106+ run : npm run test:coverage -- --ci --shard=${{ matrix.shard }}
106107
107108 - name : Submit coverage data to codecov
108109 uses : codecov/codecov-action@v3
You can’t perform that action at this time.
0 commit comments