stort/.github/workflows/build-validation.yml

31 lines
528 B
YAML
Raw Normal View History

2024-08-06 21:48:31 +08:00
name: Test Build Frontend
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
container:
2024-08-06 21:52:39 +08:00
image: oven/bun
2024-08-06 21:48:31 +08:00
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rustup and Cargo
run: |
2024-08-06 21:56:52 +08:00
apt update
apt install rustup cargo -y
2024-08-06 21:48:31 +08:00
- name: bun install
2024-08-06 21:48:31 +08:00
run: |
bun install
2024-08-06 21:48:31 +08:00
- name: bun run tauri build
2024-08-06 21:48:31 +08:00
run: |
NO_STRIP=true bun run tauri build
2024-08-06 21:48:31 +08:00
echo "winning ranks"