mirror of https://github.com/buster-so/buster.git
trigger upgrade and deployment update
This commit is contained in:
parent
42268375f2
commit
482009c01f
|
@ -1,47 +0,0 @@
|
|||
name: Deploy Trigger.dev Tasks - Staging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- staging
|
||||
|
||||
jobs:
|
||||
deploy-staging:
|
||||
runs-on: blacksmith-8vcpu-ubuntu-2204
|
||||
environment: staging
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.x'
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 9.15.0
|
||||
|
||||
- name: Get pnpm store directory
|
||||
shell: bash
|
||||
run: |
|
||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup pnpm cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ env.STORE_PATH }}
|
||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: 🚀 Deploy to Staging
|
||||
env:
|
||||
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
|
||||
run: |
|
||||
cd apps/trigger
|
||||
pnpm dlx trigger.dev@v4-beta deploy --env staging
|
|
@ -1,14 +1,13 @@
|
|||
name: Deploy Trigger.dev Tasks - Production
|
||||
name: Deploy Trigger.dev Tasks
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [main, staging]
|
||||
|
||||
jobs:
|
||||
deploy-production:
|
||||
deploy:
|
||||
runs-on: blacksmith-8vcpu-ubuntu-2204
|
||||
environment: production
|
||||
environment: ${{ github.ref_name }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
@ -39,9 +38,9 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: 🚀 Deploy to Production
|
||||
- name: 🚀 Deploy to ${{ github.ref_name == 'main' && 'Production' || 'Staging' }}
|
||||
env:
|
||||
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
|
||||
run: |
|
||||
cd apps/trigger
|
||||
pnpm dlx trigger.dev@v4-beta deploy --env production
|
||||
pnpm dlx trigger.dev@v4-beta.22 deploy --env ${{ github.ref_name == 'main' && 'production' || 'staging' }}
|
|
@ -24,13 +24,13 @@
|
|||
"@buster/typescript-config": "workspace:*",
|
||||
"@buster/vitest-config": "workspace:*",
|
||||
"@mastra/core": "catalog:",
|
||||
"@trigger.dev/sdk": "4.0.0-v4-beta.21",
|
||||
"@trigger.dev/sdk": "4.0.0-v4-beta.22",
|
||||
"ai": "catalog:",
|
||||
"braintrust": "^0.0.206",
|
||||
"vitest": "catalog:",
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trigger.dev/build": "4.0.0-v4-beta.21"
|
||||
"@trigger.dev/build": "4.0.0-v4-beta.22"
|
||||
}
|
||||
}
|
25577
pnpm-lock.yaml
25577
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -11,8 +11,8 @@ packages:
|
|||
|
||||
catalog:
|
||||
"@supabase/supabase-js": "^2.50.0"
|
||||
"@trigger.dev/build": "^4.0.0-v4-beta.21"
|
||||
"@trigger.dev/sdk": "^4.0.0-v4-beta.21"
|
||||
"@trigger.dev/build": "^4.0.0-v4-beta.22"
|
||||
"@trigger.dev/sdk": "^4.0.0-v4-beta.22"
|
||||
ai: "^4.0.0"
|
||||
axios: "^1.10.0"
|
||||
drizzle-orm: "^0.44.2"
|
||||
|
|
Loading…
Reference in New Issue