fix: set jest shard to 2 (#35831)

This commit is contained in:
vagusX 2022-06-01 16:40:09 +08:00 committed by GitHub
parent 6ced6c33f4
commit 938cdabced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,7 @@ jobs:
matrix:
react: ['16', '17', '18']
module: ['dom', 'node', 'dist']
shard: ['1/4', '2/4', '3/4', '4/4']
shard: ['1/2', '2/2']
env:
REACT: ${{ matrix.react }}
runs-on: ubuntu-latest
@ -353,7 +353,7 @@ jobs:
matrix:
react: ['16', '17', '18']
module: [lib, es]
shard: ['1/4', '2/4', '3/4', '4/4']
shard: ['1/2', '2/2']
env:
REACT: ${{ matrix.react }}
steps: