ci: fix --shard options

This commit is contained in:
taian.lta 2024-07-28 14:58:06 +08:00 committed by vagusX
parent 72a1a0ea3d
commit 88c3928a40

View File

@ -129,7 +129,7 @@ jobs:
- name: run visual-diff capture
run: |
npx playwright install chromium
npm run visual-diff:capture
npm run visual-diff:capture -- --maxWorkers=2 --shard=${{matrix.shard}}
env:
NODE_OPTIONS: "--max_old_space_size=4096"