chore: cloudflare workers

This commit is contained in:
JOYCEQL
2026-02-22 19:11:05 +08:00
parent 68d8036c75
commit 41491dfe4b
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ name: Deploy to Cloudflare
on: on:
push: push:
branches: branches:
- main - refacor/tanstack-start
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 22
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
+1
View File
@@ -42,3 +42,4 @@ src/routeTree.gen.ts
.history .history
.agent .agent
.tanstack
+6 -3
View File
@@ -1,4 +1,7 @@
name = "sorafm" name = "magic-resume"
compatibility_date = "2024-09-23" main = "dist/server/server.js"
compatibility_date = "2025-12-01"
compatibility_flags = ["nodejs_compat"] compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"
[assets]
directory = "dist/client"