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

View File

@@ -3,7 +3,7 @@ name: Deploy to Cloudflare
on:
push:
branches:
- main
- refacor/tanstack-start
workflow_dispatch:
jobs:
@@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Setup pnpm
uses: pnpm/action-setup@v4

1
.gitignore vendored
View File

@@ -42,3 +42,4 @@ src/routeTree.gen.ts
.history
.agent
.tanstack

View File

@@ -1,4 +1,7 @@
name = "sorafm"
compatibility_date = "2024-09-23"
name = "magic-resume"
main = "dist/server/server.js"
compatibility_date = "2025-12-01"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"
[assets]
directory = "dist/client"