Skip to content

Commit 939cc60

Browse files
committed
add node setup
1 parent 4691b66 commit 939cc60

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- uses: actions/setup-go@v5
3232
with:
3333
go-version: v1.24.0
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version: '20'
37+
- run: make build-web
3438
- run: make test-e2e
3539
- run: make test-e2e-contribs
3640

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,10 @@ deploy-docs: venv ## Deploy docs
375375
. $(VENV)/activate; \
376376
REMOTE=$(REMOTE) BRANCH=$(BRANCH) docs/scripts/deploy-docs.sh
377377

378+
.PHONY: build-web
379+
build-web:
380+
cd web && npm run build
381+
378382
# Example: make IMAGE_REPO=ghcr.io/<username> image-local
379383
# Set PLATFORMS to override default architectures (e.g., make PLATFORMS=linux/amd64,linux/arm64 image-local)
380384
# For local builds, default to current architecture on Linux platform to support --load

0 commit comments

Comments
 (0)