Fix the unit tests CI action
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
run: pnpm run generate
|
||||
|
||||
- name: 🧪 Run Webapp Unit Tests
|
||||
run: pnpm run test --filter webapp
|
||||
run: pnpm run test:webapp
|
||||
env:
|
||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
|
||||
DIRECT_URL: postgresql://postgres:postgres@localhost:5432/postgres
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
ENCRYPTION_KEY: "secret"
|
||||
|
||||
- name: 🧪 Run Package Unit Tests
|
||||
run: pnpm run test --filter "@trigger.dev/*"
|
||||
run: pnpm run test:packages
|
||||
|
||||
- name: 🧪 Run Internal Unit Tests
|
||||
run: pnpm run test --filter "@internal/*"
|
||||
run: pnpm run test:internal
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
"dev:docker:build": "docker-compose -p triggerdotdev-dev-docker -f docker/dev-compose.yml up -d --build",
|
||||
"dev:docker:stop": "docker-compose -p triggerdotdev-dev-docker -f docker/dev-compose.yml stop",
|
||||
"test": "turbo run test --concurrency=1 -- --run",
|
||||
"test:webapp": "turbo run test --filter webapp -- --run",
|
||||
"test:packages": "turbo run test --concurrency=1 --filter \"@trigger.dev/*\" -- --run",
|
||||
"test:internal": "turbo run test --concurrency=1 --filter \"@internal/*\" -- --run",
|
||||
"test:dev": "turbo run test:dev",
|
||||
"start": "turbo run start",
|
||||
"check-exports": "turbo run check-exports",
|
||||
|
||||
Reference in New Issue
Block a user