fix(web): use proper shadcn pkg

This commit is contained in:
Collin Barrett 2025-06-15 15:29:16 -05:00 committed by Collin Barrett
parent 605ccf8075
commit ccefd1c91e

View file

@ -30,7 +30,7 @@ jobs:
- name: Check for shadcn/ui component updates
id: diff
run: |
UPDATES=$(npx shadcn-ui@latest diff || true)
UPDATES=$(npx shadcn@latest diff || true)
if [[ $UPDATES == *"No updates available."* || -z "$UPDATES" ]]; then
echo "updates=false" >> $GITHUB_OUTPUT
else
@ -42,7 +42,7 @@ jobs:
if: steps.diff.outputs.updates == 'true'
run: |
while IFS= read -r component; do
npx shadcn-ui@latest add "$component" --overwrite
npx shadcn@latest add "$component" --overwrite
done < shadcn-updates.txt
- name: Create Pull Request