mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-13 19:20:04 +00:00
9b692c239a
Only 4 checkouts truly need full git history (tag operations, branch sync). The remaining 18 occurrences were used in build/lint/test jobs that only need the current commit. Also removed redundant fetch-tags: true where fetch-depth: 0 already implies full tag fetch.
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
name: Verify Desktop Patch
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- next
|
|
- dev
|
|
paths:
|
|
- 'scripts/electronWorkflow/**'
|
|
- 'src/libs/next/config/**'
|
|
- 'src/app/**'
|
|
- 'src/layout/**'
|
|
- 'src/components/mdx/**'
|
|
- 'src/features/DevPanel/**'
|
|
- 'src/server/translation.ts'
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/electronWorkflow/**'
|
|
- 'src/libs/next/config/**'
|
|
- 'src/app/**'
|
|
- 'src/layout/**'
|
|
- 'src/components/mdx/**'
|
|
- 'src/features/DevPanel/**'
|
|
- 'src/server/translation.ts'
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
NODE_VERSION: 24.11.1
|
|
BUN_VERSION: 1.2.23
|
|
|
|
jobs:
|
|
verify:
|
|
name: Desktop patch smoke test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node & Bun
|
|
uses: ./.github/actions/setup-node-bun
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
bun-version: ${{ env.BUN_VERSION }}
|
|
|
|
- name: Install deps
|
|
run: bun i
|
|
|
|
- name: Verify desktop patch
|
|
run: bun scripts/electronWorkflow/modifiers/index.mts
|