From 0100de9ca38bad4bbe8bf0ec927b826295d51392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A7=81Ash=C3=BB=EA=A7=82?= <30575805+Ashu11-A@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:04:42 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixing=20error=20where=20the=20b?= =?UTF-8?q?uild=20script=20didn't=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4a78c5f..4aefa2a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -62,5 +62,10 @@ jobs: - run: | cd ${{ matrix.path }} && bun i && - bun run build || true && + # Verifica se o script "build" existe antes de rodar + if bun run | grep -q "build"; then + bun run build + else + echo "Script 'build' não encontrado. Continuando..." + fi && bun build ./src/app.ts --target=bun --minify --outfile=build.js