Skip to content

Scheduling infrastructure for absolutely everyone.

chore: add build platform libs in api v2 github actions (#23862)

Morgane8c2d4fa956c
diff --git a/.github/workflows/e2e-api-v2.yml b/.github/workflows/e2e-api-v2.yml
index e2e351bd714..4806dcc7ff4 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 1dcb5324322..b99326afe59 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