feat: add desktop agent workbench
This commit is contained in:
+20
-26
@@ -134,13 +134,10 @@ jobs:
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
bun-version: latest
|
||||
|
||||
- name: Get linked dependency versions
|
||||
id: dep-versions
|
||||
@@ -168,15 +165,15 @@ jobs:
|
||||
if: steps.cache-linked-deps.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
pnpm --dir libs/stream-monaco install --frozen-lockfile
|
||||
pnpm --dir libs/stream-monaco build
|
||||
bun --cwd libs/stream-monaco install --frozen-lockfile
|
||||
bun --cwd libs/stream-monaco run build
|
||||
|
||||
pnpm --dir libs/markstream-vue install --frozen-lockfile
|
||||
pnpm --dir libs/markstream-vue run build:parser
|
||||
pnpm --dir libs/markstream-vue/packages/markstream-react build
|
||||
bun --cwd libs/markstream-vue install --frozen-lockfile
|
||||
bun --cwd libs/markstream-vue run build:parser
|
||||
bun --cwd libs/markstream-vue/packages/markstream-react run build
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build with Tauri
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
@@ -192,7 +189,7 @@ jobs:
|
||||
releaseBody: ${{ needs.draft-release-notes.outputs.body }}
|
||||
releaseDraft: true
|
||||
prerelease: ${{ contains(github.ref_name, '-rc') }}
|
||||
tauriScript: pnpm tauri
|
||||
tauriScript: bun run tauri
|
||||
args: --target ${{ matrix.target }}
|
||||
includeUpdaterJson: true
|
||||
|
||||
@@ -268,13 +265,10 @@ jobs:
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
bun-version: latest
|
||||
|
||||
- name: Get linked dependency versions
|
||||
id: dep-versions
|
||||
@@ -300,22 +294,22 @@ jobs:
|
||||
- name: Build linked dependencies
|
||||
if: steps.cache-linked-deps.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pnpm --dir libs/stream-monaco install --frozen-lockfile
|
||||
pnpm --dir libs/stream-monaco build
|
||||
bun --cwd libs/stream-monaco install --frozen-lockfile
|
||||
bun --cwd libs/stream-monaco run build
|
||||
|
||||
pnpm --dir libs/markstream-vue install --frozen-lockfile
|
||||
pnpm --dir libs/markstream-vue run build:parser
|
||||
pnpm --dir libs/markstream-vue/packages/markstream-react build
|
||||
bun --cwd libs/markstream-vue install --frozen-lockfile
|
||||
bun --cwd libs/markstream-vue run build:parser
|
||||
bun --cwd libs/markstream-vue/packages/markstream-react run build
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build for Linux ARM64
|
||||
run: |
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
|
||||
export PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu/
|
||||
pnpm tauri build --target aarch64-unknown-linux-gnu --bundles deb,rpm
|
||||
bun run tauri build --target aarch64-unknown-linux-gnu --bundles deb,rpm
|
||||
env:
|
||||
NODE_OPTIONS: '--max_old_space_size=4096'
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
||||
|
||||
+10
-13
@@ -41,13 +41,10 @@ jobs:
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
bun-version: latest
|
||||
|
||||
- name: Get linked dependency versions
|
||||
id: dep-versions
|
||||
@@ -73,15 +70,15 @@ jobs:
|
||||
- name: Build linked dependencies
|
||||
if: steps.cache-linked-deps.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pnpm --dir libs/stream-monaco install --frozen-lockfile
|
||||
pnpm --dir libs/stream-monaco build
|
||||
bun --cwd libs/stream-monaco install --frozen-lockfile
|
||||
bun --cwd libs/stream-monaco run build
|
||||
|
||||
pnpm --dir libs/markstream-vue install --frozen-lockfile
|
||||
pnpm --dir libs/markstream-vue run build:parser
|
||||
pnpm --dir libs/markstream-vue/packages/markstream-react build
|
||||
bun --cwd libs/markstream-vue install --frozen-lockfile
|
||||
bun --cwd libs/markstream-vue run build:parser
|
||||
bun --cwd libs/markstream-vue/packages/markstream-react run build
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build with Tauri
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
@@ -97,5 +94,5 @@ jobs:
|
||||
releaseBody: 'Internal test build for scrollbar fix verification.'
|
||||
releaseDraft: true
|
||||
prerelease: true
|
||||
tauriScript: pnpm tauri
|
||||
tauriScript: bun run tauri
|
||||
args: --target aarch64-apple-darwin
|
||||
|
||||
+10
-13
@@ -51,13 +51,10 @@ jobs:
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
bun-version: latest
|
||||
|
||||
- name: Get linked dependency versions
|
||||
id: dep-versions
|
||||
@@ -84,18 +81,18 @@ jobs:
|
||||
- name: Build linked dependencies
|
||||
if: steps.cache-linked-deps.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pnpm --dir libs/stream-monaco install --frozen-lockfile
|
||||
pnpm --dir libs/stream-monaco build
|
||||
bun --cwd libs/stream-monaco install --frozen-lockfile
|
||||
bun --cwd libs/stream-monaco run build
|
||||
|
||||
pnpm --dir libs/markstream-vue install --frozen-lockfile
|
||||
pnpm --dir libs/markstream-vue run build:parser
|
||||
pnpm --dir libs/markstream-vue/packages/markstream-react build
|
||||
bun --cwd libs/markstream-vue install --frozen-lockfile
|
||||
bun --cwd libs/markstream-vue run build:parser
|
||||
bun --cwd libs/markstream-vue/packages/markstream-react run build
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build Linux bundles
|
||||
run: pnpm tauri build --target x86_64-unknown-linux-gnu --bundles appimage,rpm,deb
|
||||
run: bun run tauri build --target x86_64-unknown-linux-gnu --bundles appimage,rpm,deb
|
||||
env:
|
||||
NODE_OPTIONS: '--max_old_space_size=4096'
|
||||
BOOSAPI_TEST_BUILD: '1'
|
||||
|
||||
+10
-13
@@ -42,13 +42,10 @@ jobs:
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
bun-version: latest
|
||||
|
||||
- name: Get linked dependency versions
|
||||
id: dep-versions
|
||||
@@ -76,15 +73,15 @@ jobs:
|
||||
if: steps.cache-linked-deps.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
pnpm --dir libs/stream-monaco install --frozen-lockfile
|
||||
pnpm --dir libs/stream-monaco build
|
||||
bun --cwd libs/stream-monaco install --frozen-lockfile
|
||||
bun --cwd libs/stream-monaco run build
|
||||
|
||||
pnpm --dir libs/markstream-vue install --frozen-lockfile
|
||||
pnpm --dir libs/markstream-vue run build:parser
|
||||
pnpm --dir libs/markstream-vue/packages/markstream-react build
|
||||
bun --cwd libs/markstream-vue install --frozen-lockfile
|
||||
bun --cwd libs/markstream-vue run build:parser
|
||||
bun --cwd libs/markstream-vue/packages/markstream-react run build
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build with Tauri
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
@@ -98,7 +95,7 @@ jobs:
|
||||
releaseName: 'BoosApi Test ${{ github.ref_name }}'
|
||||
releaseDraft: true
|
||||
prerelease: true
|
||||
tauriScript: pnpm tauri
|
||||
tauriScript: bun run tauri
|
||||
args: --target x86_64-pc-windows-msvc
|
||||
|
||||
- name: Package Windows portable (zip)
|
||||
|
||||
Reference in New Issue
Block a user