From f118587c250a31688429883449de6f3bbc0c72e6 Mon Sep 17 00:00:00 2001 From: pngwn Date: Wed, 16 Oct 2024 22:55:21 +0100 Subject: [PATCH] Fix js build (#9735) * skip fe build in js tests * more fix * fix again --- .github/actions/install-frontend-deps/action.yml | 3 +++ .github/workflows/tests-js.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/install-frontend-deps/action.yml b/.github/actions/install-frontend-deps/action.yml index 9bd9144de14a..b6df110970a1 100644 --- a/.github/actions/install-frontend-deps/action.yml +++ b/.github/actions/install-frontend-deps/action.yml @@ -33,6 +33,9 @@ runs: - name: Build Css shell: bash run: pnpm css + - name: Create packages + shell: bash + run: pnpm package - name: Build frontend if: inputs.skip_build == 'false' # && steps.frontend-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/tests-js.yml b/.github/workflows/tests-js.yml index db93625e81cf..276bdeb1bee8 100644 --- a/.github/workflows/tests-js.yml +++ b/.github/workflows/tests-js.yml @@ -56,7 +56,7 @@ jobs: - name: build the wasm module run: pnpm --filter @gradio/wasm build - name: format check - run: pnpm package && pnpm format:check + run: pnpm format:check - name: lint run: pnpm lint - name: typecheck