mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
chore: use bun in test CI and vercel CD (#192)
* 🔧 chore: try bun test ci * 🔧 chore: update installCommand on vercel
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[install.lockfile]
|
||||||
|
|
||||||
|
save = false
|
||||||
@@ -7,24 +7,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install bun
|
||||||
uses: pnpm/action-setup@v2
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '18'
|
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: pnpm install
|
run: bun i
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
run: pnpm run lint
|
run: bun run lint
|
||||||
|
|
||||||
- name: Test and coverage
|
- name: Test and coverage
|
||||||
run: pnpm run test:coverage
|
run: bun run test:coverage
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"installCommand": "pnpm i"
|
"installCommand": "pnpm i -g bun && bun i"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user