chore(relay): migrate deployment workflow to vite plus
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
4952f36289
commit
d8d5057477
5 files changed
+23
-28
No files matched your search
@@ -37,21 +37,18 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version-file: package.json
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v6
|
||||
- name: Setup Vite+
|
||||
uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version-file: package.json
|
||||
cache: true
|
||||
run-install: false
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
run: vp install --frozen-lockfile
|
||||
|
||||
- name: Deploy production relay stage
|
||||
run: bun --cwd infra/relay run deploy -- --stage prod --yes
|
||||
run: vp run --filter t3code-relay deploy -- --stage prod --yes
|
||||
env:
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
PLANETSCALE_API_TOKEN_ID: ${{ secrets.PLANETSCALE_API_TOKEN_ID }}
|
||||
|
||||
Reference in new issue
Block a user