diff --git a/.github/workflows/database-migrations-main.yml b/.github/workflows/database-migrations-main.yml index 13e1b3490a..d0265c44aa 100644 --- a/.github/workflows/database-migrations-main.yml +++ b/.github/workflows/database-migrations-main.yml @@ -4,8 +4,6 @@ on: branches: - main workflow_dispatch: # Allows manual triggering -env: - BUN_VERSION: "1.2.15" jobs: migrate: name: Run Database Migrations @@ -13,13 +11,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: ${{ env.BUN_VERSION }} - name: Apply database migrations env: DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }} run: | cd packages/db - bunx prisma migrate deploy \ No newline at end of file + npx prisma migrate deploy \ No newline at end of file diff --git a/.github/workflows/database-migrations-release.yml b/.github/workflows/database-migrations-release.yml index 27e5910476..19ff5c5d3a 100644 --- a/.github/workflows/database-migrations-release.yml +++ b/.github/workflows/database-migrations-release.yml @@ -4,8 +4,6 @@ on: branches: - release workflow_dispatch: # Allows manual triggering -env: - BUN_VERSION: "1.2.15" jobs: migrate: name: Run Database Migrations @@ -13,13 +11,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: ${{ env.BUN_VERSION }} - name: Apply database migrations env: DATABASE_URL: ${{ secrets.DATABASE_URL_PROD }} run: | cd packages/db - bunx prisma migrate deploy \ No newline at end of file + npx prisma migrate deploy \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc16f91c57..ea04bb7138 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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@v1 + # # 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: diff --git a/.github/workflows/trigger-tasks-deploy-main.yml b/.github/workflows/trigger-tasks-deploy-main.yml index 3c8daf8f46..7d63acd555 100644 --- a/.github/workflows/trigger-tasks-deploy-main.yml +++ b/.github/workflows/trigger-tasks-deploy-main.yml @@ -12,16 +12,9 @@ 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@v1 - - name: Clear cache - run: rm -rf node_modules .bun - - name: Install dependencies - run: | - bun install --no-cache --force - name: Generate Prisma client working-directory: ./packages/db - run: bunx prisma generate + run: npx prisma generate - name: 🚀 Deploy Trigger.dev working-directory: ./apps/app env: @@ -30,4 +23,4 @@ jobs: VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} - run: bunx trigger.dev@latest deploy --env staging + run: npx trigger.dev@latest deploy --env staging