mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-4535] cleanup unused dependencies (#3064)
* cleanup unused dependencies * more cleanup
This commit is contained in:
@@ -9,18 +9,14 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ $COMMIT_MESSAGE == *"[link-adf:"* ]]; then
|
||||
echo "BUILD_OPTS=--configuration=adfprod,e2e" >> $GITHUB_ENV
|
||||
echo "TEST_OPTS=--configuration=adfprod" >> $GITHUB_ENV
|
||||
echo "E2E_PROTRACTOR_OPTS=--with-local-adf" >> $GITHUB_ENV
|
||||
echo "E2E_TSCONFIG=tsconfig.e2e.adf.json" >> $GITHUB_ENV
|
||||
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
|
||||
echo "Checking out ADF's branch: ${BRANCH}" && \
|
||||
git clone https://github.com/Alfresco/alfresco-ng2-components.git --depth=1 --branch ${BRANCH} ../alfresco-ng2-components
|
||||
# ADF theming needs it the styling
|
||||
CWD=`pwd`
|
||||
cd ../alfresco-ng2-components
|
||||
npm install @angular/material
|
||||
cd $CWD
|
||||
echo "BUILD_OPTS=--configuration=adfprod,e2e" >> $GITHUB_ENV
|
||||
echo "TEST_OPTS=--configuration=adfprod" >> $GITHUB_ENV
|
||||
echo "E2E_PROTRACTOR_OPTS=--with-local-adf" >> $GITHUB_ENV
|
||||
echo "E2E_TSCONFIG=tsconfig.e2e.adf.json" >> $GITHUB_ENV
|
||||
|
||||
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
|
||||
echo "Cloning ADF with branch ${BRANCH}" && \
|
||||
git clone https://github.com/Alfresco/alfresco-ng2-components.git --depth=1 --branch ${BRANCH} ../alfresco-ng2-components
|
||||
else
|
||||
echo -e "\e[32mUsing ADF from installed node_modules.\e[0m"
|
||||
echo -e "Using ADF from installed node_modules."
|
||||
fi ;
|
||||
|
||||
Reference in New Issue
Block a user