diff --git a/.github/workflows/e2e-api-v2.yml b/.github/workflows/e2e-api-v2.yml index e2e351bd71..4806dcc7ff 100644 --- a/.github/workflows/e2e-api-v2.yml +++ b/.github/workflows/e2e-api-v2.yml @@ -71,9 +71,9 @@ jobs: - name: Run Tests working-directory: apps/api/v2 run: | - yarn test:e2e + yarn workspace @calcom/platform-libraries build && yarn test:e2e EXIT_CODE=$? - echo "yarn test:e2e command exit code: $EXIT_CODE" + echo "yarn workspace @calcom/platform-libraries build && yarn test:e2e command exit code: $EXIT_CODE" exit $EXIT_CODE - name: Upload Test Results if: ${{ always() }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 1dcb532432..b99326afe5 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,4 +21,4 @@ jobs: working-directory: apps/api/v2 run: | export NODE_OPTIONS="--max_old_space_size=8192" - yarn test + yarn workspace @calcom/platform-libraries build && yarn test