Skip to content

Commit

Permalink
chore(ci): update test workflow to run vitest and jest individually
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Mar 11, 2024
1 parent 852176a commit adbae2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
run: |
node -v
npm -v
pnpm test -- --silent --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }} --ignoreProjects=@sanity/cli
# ideally, these should run in parallel
pnpm test:vitest
pnpm test:jest -- --silent --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }} --ignoreProjects=@sanity/cli
env:
GITHUB_SHARD_IDENTIFIER: ${{ matrix.shardIndex }}-${{ matrix.shardTotal }}

0 comments on commit adbae2f

Please sign in to comment.