diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d572f37ed..5c4f1c155 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ stages: - prepare release - release +# TODO: rename to "frontend dependencies" node modules: stage: setup cache: @@ -89,9 +90,12 @@ backend dependencies: paths: - ${HOME}/.stack/ - .stack-work/ + name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" + expire_in: "1 day" retry: 2 interruptible: true + frontend lint: stage: lint script: @@ -100,6 +104,8 @@ frontend lint: needs: - job: node modules artifacts: true + - job: well-known + artifacts: true retry: 2 interruptible: true @@ -116,12 +122,13 @@ frontend build: needs: - job: node modules artifacts: true + - job: well-known + artifacts: true - job: frontend lint # pipeline performance artifacts: false artifacts: paths: - static/ - - well-known/ - config/webpack.yml name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" expire_in: "1 day"