mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(web): use proper shadcn pkg
This commit is contained in:
parent
605ccf8075
commit
ccefd1c91e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/web-shadcn-updater.yml
vendored
4
.github/workflows/web-shadcn-updater.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue