refactor: update templates
This commit is contained in:
parent
3e50e404ed
commit
399019f0ca
@ -12,6 +12,7 @@ include:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
NODE_IMAGE: node:16.15-alpine
|
NODE_IMAGE: node:16.15-alpine
|
||||||
|
FRONTEND_BUILD_DIR: 'dist/'
|
||||||
|
|
||||||
Dependencies-npm:
|
Dependencies-npm:
|
||||||
extends: .npm-dependencies
|
extends: .npm-dependencies
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
variables:
|
|
||||||
FRONTEND_BUILD_DIR: 'dist/'
|
|
||||||
|
|
||||||
.npm-build:
|
.npm-build:
|
||||||
image: $NODE_IMAGE
|
image: $NODE_IMAGE
|
||||||
stage: build
|
stage: build
|
||||||
|
variables:
|
||||||
|
FRONTEND_BUILD_DIR: 'dist/'
|
||||||
before_script:
|
before_script:
|
||||||
- >
|
- >
|
||||||
if [ "$FRONTEND_DIR" != "" ]; then
|
if [ "$FRONTEND_DIR" != "" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user