diff options
author | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2022-04-24 04:11:16 +0300 |
---|---|---|
committer | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2022-04-24 04:11:16 +0300 |
commit | f4a242a81f76ea3425f76bf0b0803ba7d3408c58 (patch) | |
tree | c4e5f80d9b951c90f23d63541cc5a89b71d84475 | |
parent | 50048b8cf401b15f51ac4980f7b7e408c76f3143 (diff) |
Revert "chore: remove npm-ci task"
This reverts commit 50048b8cf401b15f51ac4980f7b7e408c76f3143.
-rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -35,19 +35,24 @@ docker-test: docker-npm-ci export HUGO_VERSION=$(shell make get-hugo-version) && \ $(DOCKER_COMPOSE) run --rm --entrypoint=hugo hugo $(opt) +.PHONY: npm-ci +npm-ci: fetch-fonts + cd ./exampleSite && \ + npm ci + .PHONY: dev -dev: fetch-fonts +dev: npm-ci cd ./exampleSite && \ hugo server --renderStaticToDisk --navigateToChanged --buildDrafts .PHONY: test -test: fetch-fonts +test: npm-ci cd ./exampleSite && \ hugo --minify --renderToMemory --printPathWarnings --debug \ --templateMetrics --templateMetricsHints .PHONY: build-staging -build-staging: fetch-fonts +build-staging: npm-ci cd ./exampleSite && \ hugo --minify --cleanDestinationDir \ --environment "staging" \ @@ -55,7 +60,7 @@ build-staging: fetch-fonts --templateMetrics --templateMetricsHints .PHONY: build-prod -build-prod: fetch-fonts +build-prod: npm-ci cd ./exampleSite && \ hugo --minify --cleanDestinationDir --printPathWarnings && \ wget -O ./public/report.html ${BASE_URL}/report.html || true |