diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 06da8b8407..642839ec00 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -169,6 +169,41 @@ jobs:
name: Cypress tests
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
+ cloud-typecheck:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: ./.github/actions/setup
+ - uses: ./.github/actions/cache-on-main
+ with:
+ path: node_modules/.cache
+ key: ${{ runner.os }}-cloud-tsc-${{ github.run_id }}
+ restore-keys: ${{ runner.os }}-cloud-tsc-
+ - run: yarn typecheck:cloud
+ - if: failure() && github.ref_name == 'main'
+ uses: ./.github/actions/report
+ with:
+ name: Cloud typecheck
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
+
+ # TODO(WEB-2537): Setup CodeCOV
+ cloud-tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: ./.github/actions/setup
+ - uses: ./.github/actions/cache-on-main
+ with:
+ path: node_modules/.cache
+ key: ${{ runner.os }}-cloud-jest-${{ github.run_id }}
+ restore-keys: ${{ runner.os }}-cloud-jest-
+ - run: yarn test:cloud --coverage --maxWorkers=100%
+ - if: failure() && github.ref_name == 'main'
+ uses: ./.github/actions/report
+ with:
+ name: Cloud tests
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
+
pre:
if: ${{ github.ref_name == 'main' || github.ref_name == 'releases/staging' }}
runs-on: ubuntu-latest
diff --git a/.gitignore b/.gitignore
index 063d6eb870..d2d996cdf3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ schema.graphql
# testing
/coverage
/cache
+/functions/coverage
# builds
/build
diff --git a/functions/__snapshots__/collection.test.ts.snap b/functions/__snapshots__/collection.test.ts.snap
index a26400bf06..27f4832ffd 100644
--- a/functions/__snapshots__/collection.test.ts.snap
+++ b/functions/__snapshots__/collection.test.ts.snap
@@ -22,7 +22,7 @@ exports[`should inject metadata for valid collections 1`] = `
@@ -38,8 +38,6 @@ exports[`should inject metadata for valid collections 1`] = `
-->
-
-