refactor: update templates

This commit is contained in:
Alex Munoz 2022-06-11 21:51:43 +02:00 committed by Marcel Feix
parent 3e50e404ed
commit 399019f0ca
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
2 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,7 @@ include:
variables:
NODE_IMAGE: node:16.15-alpine
FRONTEND_BUILD_DIR: 'dist/'
Dependencies-npm:
extends: .npm-dependencies

View File

@ -1,9 +1,8 @@
variables:
FRONTEND_BUILD_DIR: 'dist/'
.npm-build:
image: $NODE_IMAGE
stage: build
variables:
FRONTEND_BUILD_DIR: 'dist/'
before_script:
- >
if [ "$FRONTEND_DIR" != "" ]; then