Skip to content

Commit

Permalink
chore(test): add sharding to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
binoy14 committed Oct 3, 2024
1 parent 7177ba6 commit 0dcfa77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ jobs:
- name: Test
id: test
run: |
node -v
pnpm test:vitest
pnpm test:vitest --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }}
env:
GITHUB_SHARD_IDENTIFIER: ${{ matrix.shardIndex }}-${{ matrix.shardTotal }}

0 comments on commit 0dcfa77

Please sign in to comment.