diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a8d64b3..4e3bda6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.gitignore b/.gitignore index 9fe8ce2..915bf9d 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ src/routeTree.gen.ts .history .agent +.tanstack \ No newline at end of file diff --git a/wrangler.toml b/wrangler.toml index a1e9746..9824821 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -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"