Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/bun-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
node-version: ${{ inputs.node_version }}

- name: Install Bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-pr-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
permissions:
pull-requests: write
contents: write
issues: write
steps:
- name: Add permissions
run: git config --global --add safe.directory /github/workspace
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-pr-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
permissions:
pull-requests: write
contents: write
issues: write
steps:
- name: Add permissions
run: git config --global --add safe.directory /github/workspace
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
with:
node-version: '20' # Or your preferred Node.js version

# - name: Setup Bun
# uses: oven-sh/setup-bun@v1
# # with:
# # bun-version: latest # Optional: specify a bun version
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest # Optional: specify a bun version

# - name: Install dependencies
# run: bun install --frozen-lockfile # Use --frozen-lockfile in CI
- name: Install dependencies
run: bun install --frozen-lockfile # Use --frozen-lockfile in CI

- name: Release
env:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/trigger-tasks-deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "22.x" # Updated to match Node.js w/ Vercel
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Clear cache
run: rm -rf node_modules .bun
- name: Install dependencies
run: |
bun install --frozen-lockfile
- name: Generate Prisma client
working-directory: ./packages/db
run: npx prisma generate
run: bunx prisma generate
- name: 🚀 Deploy Trigger.dev
working-directory: ./apps/app
env:
Expand All @@ -23,4 +30,4 @@ jobs:
VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }}
run: npx trigger.dev@latest deploy --env staging
run: bunx trigger.dev@latest deploy --env staging
4 changes: 2 additions & 2 deletions .github/workflows/trigger-tasks-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
node-version: "20.x"

- name: Setup Bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Generate Prisma client
working-directory: ./packages/db
Expand Down
Loading