We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53b905 commit 767ad6cCopy full SHA for 767ad6c
1 file changed
.github/workflows/ci.yml
@@ -24,12 +24,21 @@ jobs:
24
test:
25
name: Test
26
runs-on: ubuntu-latest
27
+ strategy:
28
+ matrix:
29
+ shardIndex: [1, 2, 3]
30
+ shardTotal: [3]
31
steps:
32
- uses: actions/checkout@v4
- - uses: pnpm/action-setup@v4
33
- uses: actions/setup-node@v4
34
with:
35
node-version: 18
- cache: pnpm
- - run: pnpm install --frozen-lockfile
- - run: pnpm test
36
+
37
+ - name: Install pnpm
38
+ uses: pnpm/action-setup@v4
39
40
+ - name: Install dependencies
41
+ run: pnpm i
42
43
+ - name: Run tests
44
+ run: pnpm run test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
0 commit comments