From 18dd184753bc3562587b2bbe8df88b8c2ced37e9 Mon Sep 17 00:00:00 2001 From: Harley Alexander Zapata Hernandez Date: Mon, 3 Jun 2024 05:33:46 -0500 Subject: [PATCH] Remove if presents bun run build --- .github/workflows/bunts.yml | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bunts.yml b/.github/workflows/bunts.yml index 19ce832..8dadf6a 100644 --- a/.github/workflows/bunts.yml +++ b/.github/workflows/bunts.yml @@ -1,14 +1,32 @@ -name: bun CI +name: Bun CI + +on: [push] + jobs: - my-job: - name: my-job + build: runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [21.x] steps: - # ... - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 - # run any `bun` or `bunx` command - - run: bun install - - run: bun index.ts - - run: bun run build \ No newline at end of file + - name: Set up Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest # Puedes especificar una versión específica si lo prefieres + + - name: Install dependencies + run: bun install + + # Descomentar si tienes configuración para lint + # - name: Run lint + # run: bun lint + + - name: Run build + run: bun run build + + # Descomentar si tienes configuración para tests + # - name: Run tests + # run: bun test