From e1bf425c1cb1d6eef4431a17f7075ceccf3820d1 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Fri, 27 May 2022 22:37:02 +0530 Subject: [PATCH] Fix failing builds (#2908) --- .github/workflows/check-types.yml | 3 ++- packages/embeds/embed-react/package.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml index 356efd516b..2d20685041 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 d37a54f6ff..b0175c8792 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",