-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 839 Bytes
/
bunts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Bun CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v1
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
shell: bash
- name: Add Bun to PATH
run: |
echo 'export BUN_INSTALL="$HOME/.bun"' >> $GITHUB_ENV
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $GITHUB_ENV
shell: bash
- name: Install dependencies
run: |
bun install
- name: Run build
run: |
bun run build --if-present
# Descomentar los siguientes pasos si tienes lint y tests configurados
# - name: Run lint
# run: |
# bun lint
# - name: Run tests
# run: |
# bun test