generate in ci

This commit is contained in:
2021-07-28 18:09:59 +02:00
parent 59ec8fe245
commit b4e6b8d746

View File

@ -26,6 +26,8 @@ check:
build:
image: node:14-buster
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
tags:
- hottis
- linux
@ -40,6 +42,7 @@ build:
sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"':'"$CI_COMMIT_SHORT_SHA"'/' ./src/app/navigation/navigation.component.html;
fi
- npm install
- npm run generate
- ./node_modules/.bin/ng build --prod
- tar -czf ../dist.tgz dist