From ccd8915cf0a8e823ecfd00b08e43c6c159c156d8 Mon Sep 17 00:00:00 2001
From: Julian Skinner <dev+github-bot@kajabi.com>
Date: Mon, 24 Jun 2024 10:20:48 -0500
Subject: [PATCH] ci: list node modules folder

---
 packages/sage-react/package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/sage-react/package.json b/packages/sage-react/package.json
index c7c017e7bb..35c34f24a4 100644
--- a/packages/sage-react/package.json
+++ b/packages/sage-react/package.json
@@ -37,7 +37,7 @@
     "build:watch": "build-storybook -o build && webpack --config webpack/webpack.prod.js --watch",
     "lint": "yarn run eslint \"lib/**/*.{js,jsx}\"",
     "storybook": "start-storybook -p 4100 --ci",
-    "preversion": "yarn install && yarn run build",
+    "preversion": "ls ../../node_modules/@kajabi/sage-assets && ls ../../node_modules/@kajabi/sage-assets/dist && yarn install && yarn run build",
     "test": "jest --runInBand",
     "test:coverage:server": "browser-sync start -s \"coverage/lcov-report\" -f \"coverage/lcov-report/**/*.*\" --port 4110",
     "test:coverage:watch": "jest --coverage=true --watchAll=true",