From be0c898f25a260bf85e118d43c803acfc541ab4b Mon Sep 17 00:00:00 2001 From: elevatebart Date: Mon, 6 Nov 2023 16:12:41 +0100 Subject: [PATCH] shorten template check --- .github/workflows/template-test.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/template-test.yml b/.github/workflows/template-test.yml index f5fa7a5bd..ebf862d48 100644 --- a/.github/workflows/template-test.yml +++ b/.github/workflows/template-test.yml @@ -42,14 +42,23 @@ jobs: env: CI: true - - name: Build Components - run: yarn build:components - - - name: Check global types - run: | - yarn vue-tsc --noEmit -p . - yarn tsc --noEmit --project ./tsconfig.react.json - yarn vue-tsc --noEmit --project ./tsconfig.vue.json + - name: Build Component for Vue + run: yarn workspace @cypress-design/constants-component-name build + + - name: Build Component for Vue + run: yarn workspace @cypress-design/vue-component-name build + + - name: Build Component for React + run: yarn workspace @cypress-design/react-component-name build + + - name: Types docs + run: yarn vue-tsc --noEmit -p . + + - name: Types Vue + run: yarn vue-tsc --noEmit --project ./tsconfig.vue.json + + - name: Types React + run: yarn tsc --noEmit --project ./tsconfig.react.json - name: Lint all files run: yarn eslint .