mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
1d9b6099bd
* 👷 build(repo): migrate to pnpm v11 and consolidate workspace config Made-with: Cursor * 👷 fix pnpm v11 install config
24 lines
558 B
YAML
24 lines
558 B
YAML
name: Desktop Build Setup
|
|
description: Setup Node.js, pnpm and install dependencies for desktop build
|
|
|
|
inputs:
|
|
node-version:
|
|
description: Node.js version
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Setup environment
|
|
uses: ./.github/actions/setup-env
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: pnpm install --node-linker=hoisted
|
|
|
|
- name: Install deps on Desktop
|
|
shell: bash
|
|
run: npm run install-isolated --prefix=./apps/desktop
|