File tree Expand file tree Collapse file tree 4 files changed +10
-29
lines changed
Expand file tree Collapse file tree 4 files changed +10
-29
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - main
66 workflow_dispatch : # Allows manual triggering
7- env :
8- BUN_VERSION : " 1.2.15"
97jobs :
108 migrate :
119 name : Run Database Migrations
1210 runs-on : ubuntu-latest-custom
1311 steps :
1412 - name : Checkout repository
1513 uses : actions/checkout@v4
16- - name : Setup Bun
17- uses : oven-sh/setup-bun@v1
18- with :
19- bun-version : ${{ env.BUN_VERSION }}
2014 - name : Apply database migrations
2115 env :
2216 DATABASE_URL : ${{ secrets.DATABASE_URL_DEV }}
2317 run : |
2418 cd packages/db
25- bunx prisma migrate deploy
19+ npx prisma migrate deploy
Original file line number Diff line number Diff line change 44 branches :
55 - release
66 workflow_dispatch : # Allows manual triggering
7- env :
8- BUN_VERSION : " 1.2.15"
97jobs :
108 migrate :
119 name : Run Database Migrations
1210 runs-on : ubuntu-latest-custom
1311 steps :
1412 - name : Checkout repository
1513 uses : actions/checkout@v4
16- - name : Setup Bun
17- uses : oven-sh/setup-bun@v1
18- with :
19- bun-version : ${{ env.BUN_VERSION }}
2014 - name : Apply database migrations
2115 env :
2216 DATABASE_URL : ${{ secrets.DATABASE_URL_PROD }}
2317 run : |
2418 cd packages/db
25- bunx prisma migrate deploy
19+ npx prisma migrate deploy
Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ jobs:
3030 with :
3131 node-version : ' 20' # Or your preferred Node.js version
3232
33- - name : Setup Bun
34- uses : oven-sh/setup-bun@v1
35- # with:
36- # bun-version: latest # Optional: specify a bun version
33+ # - name: Setup Bun
34+ # uses: oven-sh/setup-bun@v1
35+ # # with:
36+ # # bun-version: latest # Optional: specify a bun version
3737
38- - name : Install dependencies
39- run : bun install --frozen-lockfile # Use --frozen-lockfile in CI
38+ # - name: Install dependencies
39+ # run: bun install --frozen-lockfile # Use --frozen-lockfile in CI
4040
4141 - name : Release
4242 env :
Original file line number Diff line number Diff line change 1212 uses : actions/setup-node@v4
1313 with :
1414 node-version : " 22.x" # Updated to match Node.js w/ Vercel
15- - name : Setup Bun
16- uses : oven-sh/setup-bun@v1
17- - name : Clear cache
18- run : rm -rf node_modules .bun
19- - name : Install dependencies
20- run : |
21- bun install --no-cache --force
2215 - name : Generate Prisma client
2316 working-directory : ./packages/db
24- run : bunx prisma generate
17+ run : npx prisma generate
2518 - name : 🚀 Deploy Trigger.dev
2619 working-directory : ./apps/app
2720 env :
3023 VERCEL_ACCESS_TOKEN : ${{ secrets.VERCEL_ACCESS_TOKEN }}
3124 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
3225 VERCEL_TEAM_ID : ${{ secrets.VERCEL_TEAM_ID }}
33- run : bunx trigger.dev@latest deploy --env staging
26+ run : npx trigger.dev@latest deploy --env staging
You can’t perform that action at this time.
0 commit comments