Skip to content

Commit c7ada46

Browse files
committed
Try and run webapp tests separately
1 parent 74c6447 commit c7ada46

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@ jobs:
3030
- name: 📀 Generate Prisma Client
3131
run: pnpm run generate
3232

33-
- name: 🧪 Run Unit Tests
34-
run: pnpm run test
33+
- name: 🧪 Run Webapp Unit Tests
34+
run: pnpm run test --filter webapp
35+
36+
- name: 🧪 Run Internal Unit Tests
37+
run: pnpm run test --filter "@internal/*"

apps/webapp/vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
test: {
66
include: ["test/**/*.test.ts"],
77
globals: true,
8+
pool: "forks",
89
},
910
// @ts-ignore
1011
plugins: [tsconfigPaths({ projects: ["./tsconfig.json"] })],

0 commit comments

Comments
 (0)