Skip to content

Commit 35b1753

Browse files
committed
chore(workflows): add DB package dependency installation step
1 parent 7f93316 commit 35b1753

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/trigger-tasks-deploy-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
run: rm -rf node_modules .bun
1919
- name: Install dependencies
2020
run: bun install --frozen-lockfile --ignore-scripts
21+
- name: Install DB package dependencies
22+
working-directory: ./packages/db
23+
run: bun install --frozen-lockfile --ignore-scripts
2124
- name: Generate Prisma client
2225
working-directory: ./packages/db
2326
run: bunx prisma generate

.github/workflows/trigger-tasks-deploy-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
- name: Install dependencies
2323
run: bun install --frozen-lockfile --ignore-scripts
2424

25+
- name: Install DB package dependencies
26+
working-directory: ./packages/db
27+
run: bun install --frozen-lockfile --ignore-scripts
28+
2529
- name: Generate Prisma client
2630
working-directory: ./packages/db
2731
run: bunx prisma generate

packages/db/prisma.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'dotenv/config';
12
import path from 'node:path';
23
import { defineConfig } from 'prisma/config';
34

0 commit comments

Comments
 (0)