Skip to content

Commit 90be8cc

Browse files
committed
chore: attempted advice from #3 (comment).
1 parent e89f39b commit 90be8cc

3 files changed

Lines changed: 119 additions & 150 deletions

File tree

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [main, rolldown]
6+
7+
jobs:
8+
build:
9+
name: Build on ${{ matrix.os }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Bun
20+
uses: oven-sh/setup-bun@v2
21+
with:
22+
bun-version: latest
23+
24+
- name: Install dependencies
25+
run: bun install
26+
27+
- name: Run build
28+
run: bun run build
29+
30+
- name: Upload build artifacts
31+
if: success()
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: build-artifacts-${{ matrix.os }}
35+
path: dist/

0 commit comments

Comments
 (0)