From 718b2f067bfa461ef81c655286eea4a2b037fae2 Mon Sep 17 00:00:00 2001 From: Robert B Gordon Date: Thu, 7 May 2026 05:49:34 -0500 Subject: [PATCH] build the webpage --- .github/workflows/build.yml | 17 +++++++++++++++++ .github/workflows/release.yml | 10 ++++++++++ 2 files changed, 27 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a739ac..c2b3f74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,13 @@ jobs: go-version-file: go.mod cache: true + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + cache-dependency-path: web/package-lock.json + - name: Format check run: make fmt @@ -44,6 +51,16 @@ jobs: go-version-file: go.mod cache: true + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + cache-dependency-path: web/package-lock.json + + - name: Build web dashboard + run: make web-build + - name: Cross-platform build run: make cross-build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39e528d..da4262a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,16 @@ jobs: - name: Set GO_VERSION environment variable run: echo "GO_VERSION=$(go version | cut -d' ' -f3)" >> $GITHUB_ENV + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + cache-dependency-path: web/package-lock.json + + - name: Build web dashboard + run: make web-build + - name: Run tests run: make test