mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update nextjs.yml
This commit is contained in:
parent
659c3c2e27
commit
64198729c3
9
.github/workflows/nextjs.yml
vendored
9
.github/workflows/nextjs.yml
vendored
@ -36,14 +36,15 @@ jobs:
|
|||||||
cd web
|
cd web
|
||||||
npm list next-themes || npm install next-themes
|
npm list next-themes || npm install next-themes
|
||||||
npm list @radix-ui/react-accordion || npm install @radix-ui/react-accordion
|
npm list @radix-ui/react-accordion || npm install @radix-ui/react-accordion
|
||||||
|
npm list @radix-ui/react-alert-dialog || npm install @radix-ui/react-alert-dialog
|
||||||
|
|
||||||
- name: Verify next-themes installation
|
- name: Verify dependencies installation
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
if [ -d "node_modules/next-themes" ]; then
|
if [ -d "node_modules/next-themes" ] && [ -d "node_modules/@radix-ui/react-accordion" ] && [ -d "node_modules/@radix-ui/react-alert-dialog" ]; then
|
||||||
echo "✅ next-themes found!"
|
echo "✅ All required dependencies are installed!"
|
||||||
else
|
else
|
||||||
echo "❌ ERROR: next-themes NOT FOUND!"
|
echo "❌ ERROR: Some dependencies are missing!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user