Fix for ADF -> APPS upstream (#8348)

* Checking if the upstream is fixed

* Checking if the upstream is fixed

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
This commit is contained in:
Vito Albano 2023-03-10 11:17:29 +00:00 committed by GitHub
parent 2590e7d0a9
commit 4db6c88f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -72,7 +72,7 @@ env:
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
NODE_OPTIONS: "--max-old-space-size=5120"
GH_PACKAGES_READ_ONLY_TOKEN: ""
GH_PACKAGES_READ_ONLY_TOKEN: "${{ secrets.HYLAND_GH_PACKAGES_READ_ONLY_TOKEN }}"
jobs:
trigger_adf:
@ -94,4 +94,5 @@ jobs:
run: |
npm install github-api
./scripts/github/update/update-project.sh -p $GH_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $GH_COMMIT -r ${{ inputs.repo_to_update }}
exit $?

View File

@ -71,7 +71,7 @@ update_js_dependency() {
for i in $(find . ! -path "*/node_modules/*" -name "package-lock.json" | xargs grep -l $PKG); do
directory=$(dirname $i)
echo "Update $PKG in $directory"
( cd $directory ; npm i --ignore-scripts $PKG@$PKG_VERSION --save-exact)
( cd $directory ; npm i --ignore-scripts --save-exact $PKG@$PKG_VERSION)
done
git add .