From 4a5404bf21f264bbac28602615c59c3778ae71b0 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 21 Feb 2023 22:18:01 +0530 Subject: [PATCH] Simplify turbo pipelone (#7252) --- .../embed-core/playwright/config/playwright.config.ts | 3 ++- .../embeds/embed-core/playwright/tests/action-based.test.ts | 6 ++++-- turbo.json | 3 +-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/embeds/embed-core/playwright/config/playwright.config.ts b/packages/embeds/embed-core/playwright/config/playwright.config.ts index a5339a7f8b..9fa404022c 100644 --- a/packages/embeds/embed-core/playwright/config/playwright.config.ts +++ b/packages/embeds/embed-core/playwright/config/playwright.config.ts @@ -1,4 +1,5 @@ -import { PlaywrightTestConfig, Frame, devices, expect } from "@playwright/test"; +import type { PlaywrightTestConfig, Frame } from "@playwright/test"; +import { devices, expect } from "@playwright/test"; import * as path from "path"; require("dotenv").config({ path: "../../../../../.env" }); diff --git a/packages/embeds/embed-core/playwright/tests/action-based.test.ts b/packages/embeds/embed-core/playwright/tests/action-based.test.ts index f708cd3575..11457573ed 100644 --- a/packages/embeds/embed-core/playwright/tests/action-based.test.ts +++ b/packages/embeds/embed-core/playwright/tests/action-based.test.ts @@ -1,6 +1,8 @@ -import { expect, Page } from "@playwright/test"; +import type { Page } from "@playwright/test"; +import { expect } from "@playwright/test"; -import { Fixtures, test } from "../fixtures/fixtures"; +import type { Fixtures } from "../fixtures/fixtures"; +import { test } from "../fixtures/fixtures"; import { todo, getEmbedIframe, diff --git a/turbo.json b/turbo.json index 2c951ac9ab..81adc27fad 100644 --- a/turbo.json +++ b/turbo.json @@ -152,8 +152,7 @@ "dependsOn": [ "@calcom/prisma#db-seed", "@calcom/web#build", - "@calcom/embed-core#build", - "@calcom/embed-react#build", + "^build", "^embed-tests-update-snapshots:ci" ] },