From 1cf1c2e0306c3c80153131b477426b4a045b22bb Mon Sep 17 00:00:00 2001 From: Noy <59097122+noyyyy@users.noreply.github.com> Date: Mon, 4 Dec 2023 18:03:58 +0800 Subject: [PATCH] ci: update vercel output --- .github/workflows/dev.yaml | 2 +- packages/client/svelte.config.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index a347169..b519aa4 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -59,6 +59,6 @@ jobs: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-org-id: ${{ secrets.ORG_ID}} #Required vercel-project-id: ${{ secrets.PROJECT_ID}} #Required - working-directory: ./packages/client/dist + working-directory: . vercel-args: "--prod" #Optional scope: ${{secrets.TEAM_SLUG}} diff --git a/packages/client/svelte.config.js b/packages/client/svelte.config.js index 3e5c07d..011b944 100644 --- a/packages/client/svelte.config.js +++ b/packages/client/svelte.config.js @@ -9,7 +9,9 @@ const config = { preprocess: vitePreprocess(), kit: { - adapter: vercelAdapter() + adapter: vercelAdapter({ + runtime: "nodejs18.x" + }) } };