Adopt Bun runtime across build pipelines
This commit is contained in:
parent
281ecd5f6f
commit
c3237dfb64
6 changed files with 44 additions and 10 deletions
5
.github/workflows/ci-cd-web-desktop.yml
vendored
5
.github/workflows/ci-cd-web-desktop.yml
vendored
|
|
@ -80,6 +80,9 @@ jobs:
|
|||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Verify Bun runtime
|
||||
run: bun --version
|
||||
|
||||
- name: Permissions diagnostic (server paths)
|
||||
run: |
|
||||
set +e
|
||||
|
|
@ -189,7 +192,7 @@ jobs:
|
|||
corepack enable || true
|
||||
pnpm --filter web install --no-frozen-lockfile
|
||||
pnpm prisma:generate
|
||||
pnpm build
|
||||
pnpm build:bun
|
||||
|
||||
- name: Publish build to stable APP_DIR directory
|
||||
run: |
|
||||
|
|
|
|||
10
.github/workflows/quality-checks.yml
vendored
10
.github/workflows/quality-checks.yml
vendored
|
|
@ -33,6 +33,14 @@ jobs:
|
|||
node-version: 20
|
||||
cache: pnpm
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.3.1
|
||||
|
||||
- name: Verify Bun
|
||||
run: bun --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
|
@ -55,4 +63,4 @@ jobs:
|
|||
run: pnpm test
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
run: pnpm build:bun
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue