Skip to content

Commit

Permalink
🐛 Fixing error where the build script didn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A authored Dec 17, 2024
1 parent 3fbe9a5 commit 0100de9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0100de9

Please sign in to comment.