Skip to content

Commit 6651f86

Browse files
committed
chore: update dependencies and add database migration workflow
- Updated the "next" dependency version to "^15.4.0-canary.60" in package.json and bun.lock. - Added a new GitHub Actions workflow for running database migrations on push and manual triggers. - Ensured the workflow installs dependencies using Bun and applies migrations using Prisma.
1 parent 433bfd0 commit 6651f86

File tree

4 files changed

+1252
-1213
lines changed

4 files changed

+1252
-1213
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Database Migrations Dev
2+
on:
3+
push:
4+
branches:
5+
- '**' # any branch
6+
workflow_dispatch: # Allows manual triggering
7+
env:
8+
BUN_VERSION: "1.0.26"
9+
jobs:
10+
migrate:
11+
name: Run Database Migrations
12+
runs-on: ubuntu-latest-custom
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- name: Setup Bun
17+
uses: oven-sh/setup-bun@v1
18+
with:
19+
bun-version: ${{ env.BUN_VERSION }}
20+
- name: Install dependencies
21+
run: bun install
22+
- name: Apply database migrations
23+
env:
24+
DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }}
25+
run: |
26+
cd packages/db
27+
bunx prisma migrate deploy

bun.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dayjs": "^1.11.13",
2020
"gitmoji": "^1.1.1",
2121
"gray-matter": "^4.0.3",
22-
"next": "^15.4.0",
22+
"next": "^15.4.0-canary.60",
2323
"react": "^19.1.0",
2424
"react-dnd": "^16.0.1",
2525
"react-dnd-html5-backend": "^16.0.1",
@@ -4959,6 +4959,8 @@
49594959

49604960
"fast-glob/glob-parent": ["[email protected]", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
49614961

4962+
"fdir/picomatch": ["[email protected]", "", {}, "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg=="],
4963+
49624964
"fetch-blob/web-streams-polyfill": ["[email protected]", "", {}, "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw=="],
49634965

49644966
"finalhandler/debug": ["[email protected]", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"dayjs": "^1.11.13",
6969
"gitmoji": "^1.1.1",
7070
"gray-matter": "^4.0.3",
71-
"next": "^15.4.0",
71+
"next": "^15.4.0-canary.60",
7272
"react": "^19.1.0",
7373
"react-dnd": "^16.0.1",
7474
"react-dnd-html5-backend": "^16.0.1",

0 commit comments

Comments
 (0)