mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7986] Migrate ADF from Travis to Github actions (#8050)
* rebased * [ci:force]
This commit is contained in:
@@ -23,5 +23,13 @@ then
|
||||
TAG_NPM=alpha
|
||||
fi
|
||||
|
||||
if [[ -n "$GITHUB_ACTIONS" ]]; then
|
||||
TAG_NPM=test
|
||||
fi
|
||||
echo "Publishing on npm with tag $TAG_NPM"
|
||||
./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
|
||||
./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish \
|
||||
--npmRegistry $NPM_REGISTRY_ADDRESS \
|
||||
--tokenRegistry $NPM_REGISTRY_TOKEN \
|
||||
--tag $TAG_NPM \
|
||||
--pathProject "$(pwd)" \
|
||||
"$@"
|
||||
|
Reference in New Issue
Block a user