From bf03b1b7669b9652adba23e31309ef6fb3bf4ae0 Mon Sep 17 00:00:00 2001 From: ramiroaisen <52116153+ramiroaisen@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:22:46 -0300 Subject: [PATCH] core: build client before workflows --- .github/workflows/front-admin-typecheck.yml | 5 +++++ .github/workflows/front-server-unit-tests.yml | 5 +++++ .github/workflows/front-studio-typecheck.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/front-admin-typecheck.yml b/.github/workflows/front-admin-typecheck.yml index c019c575..993921c1 100644 --- a/.github/workflows/front-admin-typecheck.yml +++ b/.github/workflows/front-admin-typecheck.yml @@ -47,6 +47,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm run ci working-directory: ./front + + - run: npm run build --if-present + working-directory: ./front/packages/client + - run: npm run check \ No newline at end of file diff --git a/.github/workflows/front-server-unit-tests.yml b/.github/workflows/front-server-unit-tests.yml index e6642deb..abc934bd 100644 --- a/.github/workflows/front-server-unit-tests.yml +++ b/.github/workflows/front-server-unit-tests.yml @@ -47,6 +47,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm run ci working-directory: ./front + + - run: npm run build --if-present + working-directory: ./front/packages/client + - run: npm test \ No newline at end of file diff --git a/.github/workflows/front-studio-typecheck.yml b/.github/workflows/front-studio-typecheck.yml index 373dbdf2..27a93645 100644 --- a/.github/workflows/front-studio-typecheck.yml +++ b/.github/workflows/front-studio-typecheck.yml @@ -47,6 +47,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm run ci working-directory: ./front + + - run: npm run build --if-present + working-directory: ./front/packages/client + - run: npm run check \ No newline at end of file