Workflow funktioniert nun wieder. Es gab Probleme nach Aenderungen.
Build and Publish Site / docker (push) Successful in 23s

ABER: Die Applikation funktioniert nur lokal. Die deployte Version geht noch nicht.
This commit is contained in:
2026-07-03 13:24:08 +02:00
parent 97a22cf704
commit b518ae8edb
1845 changed files with 292358 additions and 57 deletions
+39
View File
@@ -0,0 +1,39 @@
.PHONY: test test-ci-coverage release
_MOCHA=node_modules/.bin/_mocha
ISTANBUL=node_modules/.bin/istanbul
CODECOV=node_modules/.bin/codecov
test:
npm run test
test-ci-coverage:
npm install codecov.io
npm install istanbul
@rm -rf coverage
$(ISTANBUL) cover $(_MOCHA) --report lcovonly -- -R tap
@echo
@echo Sending report to codecov...
@cat ./coverage/lcov.info | $(CODECOV)
@rm -rf ./coverage
@echo Done
release:
ifeq ($(strip $(version)),)
@echo "\033[31mERROR:\033[0;39m No version provided."
@echo "\033[1;30mmake release version=1.0.0\033[0;39m"
else
rm -rf node_modules
npm install
make test
sed -i.bak 's/"version": "[^"]*"/"version": "$(version)"/' package.json
rm *.bak
git add .
git commit -a -m "Released $(version)."
git tag v$(version)
git push origin master
git push origin --tags
npm publish
@echo "\033[32mv${version} released\033[0;39m"
endif