chore(build): Add all-platforms build command #2
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
name: Build and Upload | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install | |
- name: Build project | |
run: bun run build:all | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: formalsurf-build | |
path: | | |
dist | |
out | |
retention-days: 7 |