mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 22:14:27 +00:00
🥐 chore: Standardize Bun-First Workspace Typechecks (#17651)
* 🥐 chore: Standardize Bun-First Workspace Typechecks
* fix: Preserve Bun 1.4.3 Checker Compatibility
* chore: Pin Bun 1.4.4 for Local and CI Typechecks
---------
Co-authored-by: Lia <lia@librechat.ai>
This commit is contained in:
parent
fba013c42e
commit
af3840b5fc
11 changed files with 103 additions and 8 deletions
6
.github/workflows/backend-review.yml
vendored
6
.github/workflows/backend-review.yml
vendored
|
|
@ -12,6 +12,7 @@ on:
|
|||
- 'packages/**'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- '.bun-version'
|
||||
- 'config/circular-deps.mjs'
|
||||
- '.github/workflows/backend-review.yml'
|
||||
- '!**.md'
|
||||
|
|
@ -21,6 +22,7 @@ on:
|
|||
- 'packages/**'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- '.bun-version'
|
||||
- 'config/circular-deps.mjs'
|
||||
- '.github/workflows/backend-review.yml'
|
||||
- '!**.md'
|
||||
|
|
@ -301,10 +303,10 @@ jobs:
|
|||
name: build-api
|
||||
path: packages/api/dist
|
||||
|
||||
- name: Use Bun 1.4.3
|
||||
- name: Use pinned Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: '1.4.3'
|
||||
bun-version-file: .bun-version
|
||||
|
||||
- name: Type check data-provider
|
||||
run: bun check -p packages/data-provider/tsconfig.json
|
||||
|
|
|
|||
10
.github/workflows/frontend-review.yml
vendored
10
.github/workflows/frontend-review.yml
vendored
|
|
@ -11,6 +11,7 @@ on:
|
|||
- 'scripts/typecheck.mts'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- '.bun-version'
|
||||
- '.github/workflows/frontend-review.yml'
|
||||
- '!**.md'
|
||||
# Post-merge safety net and full-run baseline for gated selection (same rationale as
|
||||
|
|
@ -27,6 +28,7 @@ on:
|
|||
- 'scripts/typecheck.mts'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- '.bun-version'
|
||||
- '.github/workflows/frontend-review.yml'
|
||||
# Promotion requires full CI at the exact dev SHA, including path-filtered commits.
|
||||
workflow_dispatch:
|
||||
|
|
@ -286,10 +288,10 @@ jobs:
|
|||
name: build-chat-package
|
||||
path: packages/chat/dist
|
||||
|
||||
- name: Use Bun 1.4.3
|
||||
- name: Use pinned Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: '1.4.3'
|
||||
bun-version-file: .bun-version
|
||||
|
||||
- name: Type check client
|
||||
run: npm run typecheck
|
||||
|
|
@ -337,10 +339,10 @@ jobs:
|
|||
name: build-client-package
|
||||
path: packages/client/dist
|
||||
|
||||
- name: Use Bun 1.4.3
|
||||
- name: Use pinned Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: '1.4.3'
|
||||
bun-version-file: .bun-version
|
||||
|
||||
- name: Type check
|
||||
run: npm run typecheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue