Skip to content

Commit 5e0990a

Browse files
committed
split matrix
1 parent 7accb32 commit 5e0990a

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
strategy:
3333
matrix:
3434
node-version: ['18', '20', '22', '24']
35-
prettier-version: ['3.5.3', '3.6.0', '3.6.1', '3.6.2', '3.7.0', '3.7.1', '3.7.2', '3.7.3', 'latest']
3635

3736
steps:
3837
- uses: actions/checkout@v6
@@ -46,6 +45,32 @@ jobs:
4645
node-version: ${{ matrix.node-version }}
4746
cache: 'pnpm'
4847

48+
- run: pnpm install --frozen-lockfile
49+
50+
- run: pnpm build
51+
52+
- run: pnpm test:all
53+
54+
55+
test-prettier-versions:
56+
runs-on: ubuntu-latest
57+
58+
strategy:
59+
matrix:
60+
prettier-version: ['3.5.3', '3.6.0', '3.6.1', '3.6.2', '3.7.0', '3.7.1', '3.7.2', '3.7.3', 'latest']
61+
62+
steps:
63+
- uses: actions/checkout@v6
64+
65+
- uses: pnpm/action-setup@v4
66+
with:
67+
run_install: false
68+
69+
- uses: actions/setup-node@v6
70+
with:
71+
node-version: '24'
72+
cache: 'pnpm'
73+
4974
- run: pnpm add -D prettier@${{ matrix.prettier-version }} -w
5075

5176
- run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)