chore(npm-build): update template

This commit is contained in:
Alex Munoz 2022-07-03 22:20:40 +02:00 committed by Marcel Feix
parent f769e332ce
commit 9f2c9eb85e
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -8,6 +8,11 @@
if [ "$FRONTEND_DIR" != "" ]; then if [ "$FRONTEND_DIR" != "" ]; then
cd $FRONTEND_DIR cd $FRONTEND_DIR
fi fi
# Requires npm > 8.X
- >
if [ "$CI_COMMIT_TAG" != "" ]; then
npm --no-git-tag-version version from-git
fi
script: script:
- npm run ci:build - npm run ci:build
artifacts: artifacts: