We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e89f39b commit 90be8ccCopy full SHA for 90be8cc
3 files changed
.github/workflows/build.yml
@@ -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
34
+ name: build-artifacts-${{ matrix.os }}
35
+ path: dist/
0 commit comments