From b1021d1d8a13763704a60c3ba93bb58816b76fdb Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 18 Nov 2024 17:04:00 +0100 Subject: [PATCH] e2e tests should run test site typechecking --- .github/workflows/tests-e2e.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 632ec27d91e7..e288be9eb568 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -160,12 +160,15 @@ jobs: - name: Installation run: yarn || yarn || yarn - name: Generate test-website project against main branch - run: yarn test:build:website -s + run: yarn test:build:website -st - name: Install test-website project with npm run: npm install working-directory: ../test-website env: npm_config_registry: http://localhost:4873 + - name: TypeCheck website + working-directory: ../test-website + run: yarn typecheck - name: Start test-website project run: npm run start -- --no-open working-directory: ../test-website @@ -197,12 +200,11 @@ jobs: - name: Installation run: yarn || yarn || yarn - name: Generate test-website project against main branch - run: yarn test:build:website -s + run: yarn test:build:website -st - name: Install test-website project with pnpm run: | npm install -g pnpm - # Fix some peer dependencies errors - pnpm add @algolia/client-search @types/react@17 typescript + pnpm install working-directory: ../test-website env: npm_config_registry: http://localhost:4873