fix: build UI assets in CI
This commit is contained in:
@@ -18,6 +18,14 @@ jobs:
|
||||
with:
|
||||
go-version: '1.26'
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '24'
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable
|
||||
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@@ -34,6 +42,14 @@ jobs:
|
||||
- name: Tidy modules
|
||||
run: go mod tidy
|
||||
|
||||
- name: Install UI dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
working-directory: ui
|
||||
|
||||
- name: Build UI assets
|
||||
run: pnpm run build
|
||||
working-directory: ui
|
||||
|
||||
- name: Run tests
|
||||
run: go test ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user