mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🪟 fix: Windows Build (npm) (#3889)
* chore: package-lock.json * chore: remove shadcn files (temp) * refactor: language comparisons script * fix: resolve package-lock file for windows compatibility * chore: Enable Windows unit tests for frontend * refactor: move shadcn components to data-provider
This commit is contained in:
parent
136599081c
commit
9ec665dd2c
7 changed files with 15089 additions and 15207 deletions
37
.github/workflows/frontend-review.yml
vendored
37
.github/workflows/frontend-review.yml
vendored
|
|
@ -33,25 +33,24 @@ jobs:
|
|||
run: npm run test:ci --verbose
|
||||
working-directory: client
|
||||
|
||||
# Windows job is commented out
|
||||
# tests_frontend_windows:
|
||||
# name: Run frontend unit tests on Windows
|
||||
# timeout-minutes: 60
|
||||
# runs-on: windows-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Use Node.js 20.x
|
||||
# uses: actions/setup-node@v4
|
||||
# with:
|
||||
# node-version: 20
|
||||
# cache: 'npm'
|
||||
tests_frontend_windows:
|
||||
name: Run frontend unit tests on Windows
|
||||
timeout-minutes: 60
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'npm'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: npm ci
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
# - name: Build Client
|
||||
# run: npm run frontend:ci
|
||||
- name: Build Client
|
||||
run: npm run frontend:ci
|
||||
|
||||
# - name: Run unit tests
|
||||
# run: npm run test:ci --verbose
|
||||
# working-directory: client
|
||||
- name: Run unit tests
|
||||
run: npm run test:ci --verbose
|
||||
working-directory: client
|
||||
Loading…
Add table
Add a link
Reference in a new issue