chore: add `npm version` in Makefile (#47)

* chore: add `npm version` in Makefile

* Update Makefile
This commit is contained in:
Hervé Le Meur 2023-10-28 14:29:55 +02:00 committed by GitHub
parent b5b5da4e3c
commit 72808854cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ publish: ## Publish the Docker container to docker hub
docker push ${IMAGE_NAME}:$(IMAGE_TAG)
docker push $(IMAGE_NAME):latest
depends: package.json package-lock.json ## Install node dependencies
version:
npm version
depends: version package.json package-lock.json ## Install node dependencies
if [ ! -d node_modules ]; then npm install; fi;
build: depends ## Compile TypeScript