Skip to content

Commit c42b777

Browse files
authored
Trying to fix CSS gen process in CI/CD ...
1 parent 84a5e7e commit c42b777

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ tailwind-build:
141141
tailwindcss -i $(TAILWIND_INPUT) -o $(TAILWIND_OUTPUT) --minify
142142
cp $(TAILWIND_BASE)/*.js $(JS_OUTPUT)
143143

144-
cicd-tailwind-build:
144+
cicd-tailwind-install:
145+
@echo " >> Installing tailwind ..."
146+
@npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
147+
148+
cicd-tailwind-build: cicd-tailwind-install
145149
@echo " >> Regenerating CSS ..."
146-
@npm tailwindcss -i $(TAILWIND_INPUT) -o $(TAILWIND_OUTPUT) --minify
150+
@npx tailwindcss -i $(TAILWIND_INPUT) -o $(TAILWIND_OUTPUT) --minify
147151
@cp $(TAILWIND_BASE)/*.js $(JS_OUTPUT)

0 commit comments

Comments
 (0)