From 64198729c3985442294c9b65e69c9c3651f0691a Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Thu, 13 Feb 2025 21:08:21 +0100 Subject: [PATCH] Update nextjs.yml --- .github/workflows/nextjs.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 6756e86..b8a5a67 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -36,14 +36,15 @@ jobs: cd web 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-alert-dialog || npm install @radix-ui/react-alert-dialog - - name: Verify next-themes installation + - name: Verify dependencies installation run: | cd web - if [ -d "node_modules/next-themes" ]; then - echo "✅ next-themes found!" + if [ -d "node_modules/next-themes" ] && [ -d "node_modules/@radix-ui/react-accordion" ] && [ -d "node_modules/@radix-ui/react-alert-dialog" ]; then + echo "✅ All required dependencies are installed!" else - echo "❌ ERROR: next-themes NOT FOUND!" + echo "❌ ERROR: Some dependencies are missing!" exit 1 fi