Skip to content

Commit 5bb9e45

Browse files
fix: pin pnpm to v10 in quality job, add setup-vp for test steps
Quality job: pnpm latest could be v11 with different behavior. Pin to v10 to match local dev. Test job: setup-js scripts: only runs build. Tests need vp's tsx support (node can't run .ts files natively), so setup-vp is added back for the test steps.
1 parent 003bb55 commit 5bb9e45

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: pnpm/action-setup@v4
2121
with:
22-
version: latest
22+
version: 10
2323

2424
- uses: voidzero-dev/setup-vp@v1
2525
with:
@@ -60,4 +60,15 @@ jobs:
6060
with:
6161
runtime: ${{ matrix.runtime }}
6262
pm: ${{ matrix.pm }}
63-
scripts: build,test,test:unit
63+
scripts: build
64+
65+
- uses: voidzero-dev/setup-vp@v1
66+
with:
67+
node-version: "24"
68+
cache: true
69+
70+
- name: Test (Japa integration)
71+
run: node bin/test.ts
72+
73+
- name: Test (Vitest unit)
74+
run: vp test

0 commit comments

Comments
 (0)