We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e89f39b commit f3f873eCopy full SHA for f3f873e
3 files changed
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches: [ main, rolldown ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ name: Build on ${{ matrix.os }}
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, macos-latest]
16
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Set up Bun
22
+ uses: oven-sh/setup-bun@v2
23
+ with:
24
+ bun-version: latest
25
26
+ - name: Install dependencies
27
+ run: bun install
28
29
+ - name: Run build
30
+ run: bun run build
31
32
+ - name: Upload build artifacts
33
+ if: success()
34
+ uses: actions/upload-artifact@v4
35
36
+ name: build-artifacts-${{ matrix.os }}
37
+ path: dist/
0 commit comments