-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a07bbd
commit 18dd184
Showing
1 changed file
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
- 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 |