From d97deee43921526c964f17900888aae6f9fbd30e Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Fri, 18 Sep 2020 15:17:56 +0200 Subject: [PATCH] fix(cd): enable EXTEND_ESLINT env for app builds --- continuous-deployment-device-ui-app.yml | 1 + continuous-deployment-web-app.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/continuous-deployment-device-ui-app.yml b/continuous-deployment-device-ui-app.yml index d7ae0ba5..e9516744 100644 --- a/continuous-deployment-device-ui-app.yml +++ b/continuous-deployment-device-ui-app.yml @@ -21,6 +21,7 @@ phases: $CODEBUILD_SRC_DIR_DeviceUI/.env.production.local - cat $CODEBUILD_SRC_DIR_DeviceUI/.env.production.local - export $(cat $CODEBUILD_SRC_DIR_DeviceUI/.env.production.local | xargs) + - export EXTEND_ESLINT=true - cd $CODEBUILD_SRC_DIR_DeviceUI/; npm ci --no-audit; npm run build; - aws s3 cp $CODEBUILD_SRC_DIR_DeviceUI/build s3://$REACT_APP_DEVICE_UI_BUCKET_NAME --recursive --metadata-directive diff --git a/continuous-deployment-web-app.yml b/continuous-deployment-web-app.yml index 2fb2123d..6942e329 100644 --- a/continuous-deployment-web-app.yml +++ b/continuous-deployment-web-app.yml @@ -20,6 +20,7 @@ phases: $CODEBUILD_SRC_DIR_WebApp/.env.production.local - cat $CODEBUILD_SRC_DIR_WebApp/.env.production.local - export $(cat $CODEBUILD_SRC_DIR_WebApp/.env.production.local | xargs) + - export EXTEND_ESLINT=true - cd $CODEBUILD_SRC_DIR_WebApp/; npm ci --no-audit; npm run build; - aws s3 cp $CODEBUILD_SRC_DIR_WebApp/build s3://$REACT_APP_WEB_APP_BUCKET_NAME --recursive --metadata-directive