File tree Expand file tree Collapse file tree 6 files changed +20
-11
lines changed
Expand file tree Collapse file tree 6 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 2323 node-version : ${{ inputs.node_version }}
2424
2525 - name : Install Bun
26- uses : oven-sh/setup-bun@v1
26+ uses : oven-sh/setup-bun@v2
2727 with :
2828 bun-version : latest
2929
Original file line number Diff line number Diff line change 1717 permissions :
1818 pull-requests : write
1919 contents : write
20+ issues : write
2021 steps :
2122 - name : Add permissions
2223 run : git config --global --add safe.directory /github/workspace
Original file line number Diff line number Diff line change 99 permissions :
1010 pull-requests : write
1111 contents : write
12+ issues : write
1213 steps :
1314 - name : Add permissions
1415 run : git config --global --add safe.directory /github/workspace
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@v2
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@v2
17+ - name : Clear cache
18+ run : rm -rf node_modules .bun
19+ - name : Install dependencies
20+ run : |
21+ bun install --frozen-lockfile
1522 - name : Generate Prisma client
1623 working-directory : ./packages/db
17- run : npx prisma generate
24+ run : bunx prisma generate
1825 - name : 🚀 Deploy Trigger.dev
1926 working-directory : ./apps/app
2027 env :
2330 VERCEL_ACCESS_TOKEN : ${{ secrets.VERCEL_ACCESS_TOKEN }}
2431 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
2532 VERCEL_TEAM_ID : ${{ secrets.VERCEL_TEAM_ID }}
26- run : npx trigger.dev@latest deploy --env staging
33+ run : bunx trigger.dev@latest deploy --env staging
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 node-version : " 20.x"
1818
1919 - name : Setup Bun
20- uses : oven-sh/setup-bun@v1
20+ uses : oven-sh/setup-bun@v2
2121
2222 - name : Install dependencies
23- run : bun install
23+ run : bun install --frozen-lockfile
2424
2525 - name : Generate Prisma client
2626 working-directory : ./packages/db
You can’t perform that action at this time.
0 commit comments