Skip to content

Commit

Permalink
fix: error in action
Browse files Browse the repository at this point in the history
  • Loading branch information
jlm0 committed Jan 15, 2025
1 parent 6f60a25 commit dfb5eea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bump-react-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfb5eea

Please sign in to comment.