Skip to content

Scheduling infrastructure for absolutely everyone.

Fix failing builds (#2908)

Hariom Balharae1bf425c1cb1
diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml
index 356efd516b8..2d206850413 100644
--- a/.github/workflows/check-types.yml
+++ b/.github/workflows/check-types.yml
@@ -16,7 +16,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
with:
- fetch-depth: 0
+ ref: ${{ github.event.pull_request.head.sha }}
+ fetch-depth: 2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
diff --git a/packages/embeds/embed-react/package.json b/packages/embeds/embed-react/package.json
index d37a54f6ff0..b0175c8792b 100644
--- a/packages/embeds/embed-react/package.json
+++ b/packages/embeds/embed-react/package.json
@@ -8,7 +8,6 @@
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
"preview": "vite preview",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
- "type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .ts,.js,.tsx,.jsx ./src",
"embed-tests": "yarn playwright test --config=./playwright/config/playwright.config.ts",
"embed-tests-quick": "QUICK=true yarn embed-tests",