[AAE-7986] Migrate ADF from Travis to Github actions (#8050)

* rebased

* [ci:force]
This commit is contained in:
Marco Carrozzo
2022-12-15 10:27:04 +01:00
committed by GitHub
parent 812352ecdc
commit 70e6d642f3
23 changed files with 933 additions and 53 deletions

View File

@@ -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)" \
"$@"