Add Node.js setup and UI build steps to CI workflow
CI / Go Tests (push) Successful in 25s
CI / Build (push) Successful in 8s
Format / gofmt (push) Successful in 4s
Release Artifacts / Build linux/amd64 (default) (push) Failing after 16s
Release Artifacts / Build linux/amd64 (alpine-static) (push) Failing after 15s
Release Artifacts / Build linux/arm64 (default) (push) Failing after 14s
Release Artifacts / Build linux/arm64 (alpine-static) (push) Failing after 14s

- Added a step to set up Node.js version 20 in the CI workflow.
- Included installation of UI dependencies and a build step for UI assets.
- Enhanced the CI process to ensure UI components are built before running tests.
This commit is contained in:
2026-06-01 02:06:40 -05:00
parent 34fd1a5a4d
commit fcc7cc37da
+13
View File
@@ -20,6 +20,19 @@ jobs:
go-version-file: go.mod
cache: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: web/ui/package-lock.json
- name: Install UI deps
run: npm --prefix ./web/ui ci
- name: Build UI assets
run: npm --prefix ./web/ui run build
- name: Run tests
run: make test