Skip to content

Commit 0d285d1

Browse files
committed
add build step to qa workflows
1 parent a187dc0 commit 0d285d1

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/backend-qa.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,18 @@ jobs:
3333
working-directory: apps/backend-services
3434
run: npm run db:generate
3535
env:
36-
DATABASE_URL: "file:dev.db"
36+
DATABASE_URL: "postgresql://localhost:5432/dummy"
3737
- name: Lint
3838
working-directory: apps/backend-services
3939
run: npm run lint
4040
- name: Type Check
4141
working-directory: apps/backend-services
4242
run: npm run type-check
43+
- name: Build
44+
working-directory: apps/backend-services
45+
run: npm run build
46+
env:
47+
DATABASE_URL: "postgresql://localhost:5432/dummy"
4348
- name: Test
4449
working-directory: apps/backend-services
4550
run: npm run test:cov

.github/workflows/temporal-qa.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
- name: Type Check
4242
working-directory: apps/temporal
4343
run: npm run type-check
44+
- name: Build
45+
working-directory: apps/temporal
46+
run: npm run build
47+
env:
48+
DATABASE_URL: "postgresql://localhost:5432/dummy"
4449
- name: Run tests
4550
working-directory: apps/temporal
4651
run: npm test

0 commit comments

Comments
 (0)