From bb691bdc0466311e49f91e6e13b464e5db29a37a Mon Sep 17 00:00:00 2001 From: Hugo FOYART <11079152+foyarash@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:44:36 +0200 Subject: [PATCH] fix CI --- .github/workflows/e2e.yml | 2 ++ .github/workflows/vercel-deploy.yml | 3 +++ packages/next-admin/src/pageRouter.ts | 2 -- turbo.json | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index cf23d2a3..f7a89355 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -25,6 +25,8 @@ jobs: run: docker compose up -d - name: Install dependencies run: yarn install + - name: Build packages + run: yarn turbo run build --filter=!apps/*" - name: Run linter run: yarn lint - name: Run typecheck diff --git a/.github/workflows/vercel-deploy.yml b/.github/workflows/vercel-deploy.yml index ced4cb3c..7fa3ce23 100644 --- a/.github/workflows/vercel-deploy.yml +++ b/.github/workflows/vercel-deploy.yml @@ -29,6 +29,9 @@ jobs: - name: Install Dependencies run: yarn install + - name: Build packages + run: yarn turbo run build --filter=!apps/*" + - name: Install Vercel CLI run: npm install --global vercel@latest diff --git a/packages/next-admin/src/pageRouter.ts b/packages/next-admin/src/pageRouter.ts index a4d08392..095fa6e0 100644 --- a/packages/next-admin/src/pageRouter.ts +++ b/packages/next-admin/src/pageRouter.ts @@ -9,7 +9,6 @@ import { formatSearchFields, getParamsFromUrl } from "./utils/server"; // Router export const getNextAdminProps = async ({ prisma, - schema, basePath, apiBasePath, options, @@ -24,7 +23,6 @@ export const getNextAdminProps = async ({ const props = await getPropsFromParams({ options, prisma, - schema, basePath, apiBasePath, searchParams: requestOptions, diff --git a/turbo.json b/turbo.json index 76d48379..38f3618f 100644 --- a/turbo.json +++ b/turbo.json @@ -15,7 +15,6 @@ "start": {}, "build": { "dependsOn": [ - "^typecheck", "^build" ], "outputs": [