mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
copy testing in nodes
This commit is contained in:
@@ -14,3 +14,10 @@ else
|
|||||||
echo "Building testing for development"
|
echo "Building testing for development"
|
||||||
npm run ng -- build testing || exit 1
|
npm run ng -- build testing || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "====== Move to node_modules ======"
|
||||||
|
rm -rf ./node_modules/@alfresco/adf-testing/ && \
|
||||||
|
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
|
||||||
|
cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/
|
||||||
|
npm run ng -- build testing || exit 1
|
||||||
|
|
||||||
|
@@ -19,5 +19,5 @@ then
|
|||||||
echo "Publishing on npm with tag $TAG_NPM"
|
echo "Publishing on npm with tag $TAG_NPM"
|
||||||
npx @alfresco/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
|
npx @alfresco/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
|
||||||
else
|
else
|
||||||
echo "PR Not need to release in NPM"
|
echo "PR No need to release in NPM"
|
||||||
fi;
|
fi;
|
||||||
|
Reference in New Issue
Block a user