Skip to content

Commit cf61eb9

Browse files
committed
build(web): align release Node version and npm install strategy
Set release workflow to Node.js 20 and switch make build-web back to npm ci for reproducible dependency installs. Refresh package-lock.json metadata to match the updated install path and keep cross-platform optional package entries consistent.
1 parent f965fb1 commit cf61eb9

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: "22"
31+
node-version: "20"
3232

3333
- name: Run GoReleaser
3434
uses: goreleaser/goreleaser-action@v6

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test:
44
go test ./...
55

66
build-web:
7-
cd internal/webui/web && rm -rf node_modules && npm install && npm run build
7+
cd internal/webui/web && npm ci && npm run build
88

99
build: build-web
1010
go build -o bin/ngent ./cmd/ngent

internal/webui/web/package-lock.json

Lines changed: 36 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)