Skip to content

Commit bfcac9c

Browse files
committed
ci: bump NPM peer dependencies
1 parent 9277db2 commit bfcac9c

File tree

4 files changed

+2051
-17209
lines changed

4 files changed

+2051
-17209
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18 AS js-builder
1+
FROM node:22 AS js-builder
22

33
COPY ./ui /home/node/ui
44

Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ TEST_CMD_COV = ${TEST_CMD} -covermode=count -coverprofile=coverage.out
1010

1111
SOURCE_FILES = $(shell find ./ -type f -name "*.go" | grep -v _test.go)
1212

13-
VERSION := $(shell git describe --exact-match --abbrev=0 --tags $(git rev-list --tags --max-count=1) 2> /dev/null)
14-
ifndef VERSION
15-
VERSION = $(shell git describe --abbrev=3 --tags $(git rev-list --tags --max-count=1))-dev
13+
VERSION ?= $(shell git describe --exact-match --abbrev=0 --tags $(git rev-list --tags --max-count=1) 2> /dev/null)
14+
15+
ifeq ($(strip $(VERSION)),)
16+
VERSION := $(shell git describe --abbrev=3 --tags $(git rev-list --tags --max-count=1))-dev
1617
endif
1718

1819
LAST_COMMIT := $(shell git rev-parse HEAD)
@@ -54,7 +55,7 @@ release:
5455

5556
release-utask-lib:
5657
cd ui/dashboard/projects/utask-lib && npm version $(VERSION) --allow-same-version
57-
cd ui/dashboard && npm ci && ng build --configuration production utask-lib
58+
cd ui/dashboard && npm ci && npm run ng -- build utask-lib --configuration production
5859
npm publish ui/dashboard/dist/utask-lib --access public
5960

6061
test:

0 commit comments

Comments
 (0)