Skip to content

Commit 5a72567

Browse files
committed
Fix the unit tests CI action
1 parent 671ff26 commit 5a72567

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: pnpm run generate
3939

4040
- name: 🧪 Run Webapp Unit Tests
41-
run: pnpm run test --filter webapp
41+
run: pnpm run test:webapp
4242
env:
4343
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
4444
DIRECT_URL: postgresql://postgres:postgres@localhost:5432/postgres
@@ -47,7 +47,7 @@ jobs:
4747
ENCRYPTION_KEY: "secret"
4848

4949
- name: 🧪 Run Package Unit Tests
50-
run: pnpm run test --filter "@trigger.dev/*"
50+
run: pnpm run test:packages
5151

5252
- name: 🧪 Run Internal Unit Tests
53-
run: pnpm run test --filter "@internal/*"
53+
run: pnpm run test:internal

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"dev:docker:build": "docker-compose -p triggerdotdev-dev-docker -f docker/dev-compose.yml up -d --build",
2727
"dev:docker:stop": "docker-compose -p triggerdotdev-dev-docker -f docker/dev-compose.yml stop",
2828
"test": "turbo run test --concurrency=1 -- --run",
29+
"test:webapp": "turbo run test --filter webapp -- --run",
30+
"test:packages": "turbo run test --concurrency=1 --filter \"@trigger.dev/*\" -- --run",
31+
"test:internal": "turbo run test --concurrency=1 --filter \"@internal/*\" -- --run",
2932
"test:dev": "turbo run test:dev",
3033
"start": "turbo run start",
3134
"check-exports": "turbo run check-exports",

0 commit comments

Comments
 (0)