diff --git a/.github/workflows/bump-react-sdk.yml b/.github/workflows/bump-react-sdk.yml index dcd2767..71d8ce1 100644 --- a/.github/workflows/bump-react-sdk.yml +++ b/.github/workflows/bump-react-sdk.yml @@ -21,7 +21,9 @@ jobs: - name: Bump dependency run: | - find . -name "package.json" | xargs -I '{}' ncu -f @usecapsule/react-sdk -u '{}' + while IFS= read -r file; do + ncu "@usecapsule/react-sdk" -u -f "@usecapsule/react-sdk" --packageFile "$file" + done < <(find . -name "package.json") if [ -z "$(git status --porcelain)" ]; then exit 0 fi