diff --git a/pipelines/npm.gitlab-ci.yml b/pipelines/npm.gitlab-ci.yml index f467cf9..65237fd 100644 --- a/pipelines/npm.gitlab-ci.yml +++ b/pipelines/npm.gitlab-ci.yml @@ -12,6 +12,7 @@ include: variables: NODE_IMAGE: node:16.15-alpine + FRONTEND_BUILD_DIR: 'dist/' Dependencies-npm: extends: .npm-dependencies diff --git a/templates/npm/npm-build.gitlab-ci.yml b/templates/npm/npm-build.gitlab-ci.yml index cc4c794..c960517 100644 --- a/templates/npm/npm-build.gitlab-ci.yml +++ b/templates/npm/npm-build.gitlab-ci.yml @@ -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