Skip to content

Commit a28db04

Browse files
committed
fix: build ui-v2 in release workflows
1 parent 1b238f4 commit a28db04

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/portr-server.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,16 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v4
3939

40-
- name: Setup client
41-
uses: pnpm/action-setup@v4
40+
- name: Setup Bun
41+
uses: oven-sh/setup-bun@v2
4242
with:
43-
version: 10.13.1
44-
run_install: false
43+
bun-version: 1.3.11
4544

4645
- name: Install client dependencies
47-
run: pnpm --dir internal/client/dashboard/ui install
46+
run: bun --cwd internal/client/dashboard/ui-v2 install --frozen-lockfile
4847

4948
- name: Build client
50-
run: pnpm --dir internal/client/dashboard/ui build
49+
run: bun --cwd internal/client/dashboard/ui-v2 run build
5150

5251
- name: Set up Go
5352
uses: actions/setup-go@v5

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@ jobs:
2727
go-version: "1.25"
2828
cache: true
2929

30-
- name: Setup client
31-
uses: pnpm/action-setup@v4
30+
- name: Setup Bun
31+
uses: oven-sh/setup-bun@v2
3232
with:
33-
version: 10.13.1
34-
run_install: false
33+
bun-version: 1.3.11
3534

3635
- name: Install client dependencies
37-
run: pnpm --dir internal/client/dashboard/ui install
36+
run: bun --cwd internal/client/dashboard/ui-v2 install --frozen-lockfile
3837

3938
- name: Build client
40-
run: pnpm --dir internal/client/dashboard/ui build
39+
run: bun --cwd internal/client/dashboard/ui-v2 run build
4140

4241
- name: Publish packages
4342
uses: goreleaser/goreleaser-action@v6

0 commit comments

Comments
 (0)