feat(desktop): embed BoosAPI Desktop client as a subproject
Vendor the rebranded BoosAPI Desktop client (Tauri + Vue) into metapi as a monorepo subdirectory under desktop/. Source only — node_modules, dist, Cargo target and the upstream .git history are excluded. desktop/ keeps its own independent Cargo workspace (desktop/src-tauri with crates/*); it is not part of the backend boosapi crate, so a `cargo check` at the metapi root still compiles only the backend. Build the desktop app from desktop/src-tauri per desktop/README.md. Note: app icons are still placeholder assets pending the final BoosAPI logo. The updater signing keys live outside the repo and are not included.
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Lint, Typecheck & Tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
node_version: ['lts/*']
|
||||
include:
|
||||
- os: macos-latest
|
||||
node_version: 'lts/*'
|
||||
- os: windows-latest
|
||||
node_version: 'lts/*'
|
||||
fail-fast: false
|
||||
env:
|
||||
CI: true
|
||||
steps:
|
||||
- name: Set git to use LF
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.eol lf
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
|
||||
- name: Set node ${{ matrix.node_version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
cache: pnpm
|
||||
|
||||
- run: corepack enable
|
||||
|
||||
- name: Setup
|
||||
run: npm i -g @antfu/ni
|
||||
|
||||
- name: Install
|
||||
run: nci
|
||||
|
||||
- name: Lint (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: pnpm lint
|
||||
|
||||
- name: Typecheck
|
||||
run: nr typecheck
|
||||
|
||||
- name: Run tests
|
||||
run: nr test -- --run
|
||||
|
||||
- name: Run SSR check
|
||||
run: nr check:ssr
|
||||
|
||||
- name: Build (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: pnpm build
|
||||
|
||||
- name: Check package size budget (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: pnpm size:check
|
||||
Reference in New Issue
Block a user