Skip to content

Commit 9341256

Browse files
committed
Fixed NextJS test error in CI maybe
1 parent 833ef1a commit 9341256

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
run: pnpm run test
5757

5858
- name: Run Next.js integration test (production build)
59-
run: NEXTJS_TEST_MODE=build npx vitest run tests/src/unit/nextjs/serverUtil.test.ts
59+
run: NEXTJS_TEST_MODE=build pnpm exec vp test run src/unit/nextjs/serverUtil.test.ts
60+
working-directory: tests
6061

6162
- name: Upload webpack stats artifact (editor)
6263
uses: relative-ci/agent-upload-artifact-action@v2

0 commit comments

Comments
 (0)